vscode-jupyter: Debugger we ship is not used in the interactive window

This code works:

import sys;
sys.path.extend(['C:\\Users\\rchiodo.REDMOND\\.vscode\\extensions\\ms-python.python-2019.8.29288\\pythonFiles\\lib\\python'])
import ptvsd;

But then if you run this (which we do to check if ptvsd is installed or not)

!{sys.executable} -c "import ptvsd;print(ptvsd.__version)"

We get this:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'ptvsd'

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (12 by maintainers)

Most upvoted comments

Thanks @luabud, I’ll try and repro as I address the issue.