No module named 'ptvsd.repl' in Python remote debug -


i have followed official doc install ptvsd 3.2.0, , put below code in beginning of target code.

import ptvsd ptvsd.enable_attach('my_secret') 

if run code, got error:

file "~/.virtualenvs/py3/lib/python3.6/site-packages/ptvsd/__init__.py", line 87, in enable_attach     return _attach_server().enable_attach(secret, address, certfile, keyfile, redirect_output) file "~/.virtualenvs/py3/lib/python3.6/site-packages/ptvsd/__init__.py", line 31, in _attach_server     import ptvsd.attach_server file "~/.virtualenvs/py3/lib/python3.6/site-packages/ptvsd/attach_server.py", line 40, in <module>     import ptvsd.debugger vspd file "~/.virtualenvs/py3/lib/python3.6/site-packages/ptvsd/debugger.py", line 49, in <module>     import ptvsd.repl _vspr 

modulenotfounderror: no module named 'ptvsd.repl'

i had same problem today. i've checked last version , released yesterday. i've decided roll version 3.1.0, , working fine me.

i've reported problem gitter room. i'll update answer more information.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -