You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
requirements didn't get automatically downloaded by extension in marketplace #7836
Python debugger wouldn't start even after several reinstalls and reboots. I finally traced the problem back to this line:
C:\Python37\python.exe c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py Traceback (most recent call last): File "c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py", line 53, in <module> ptvsd_folder_name() File "c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py", line 22, in ptvsd_folder_name with open(REQUIREMENTS, "r", encoding="utf-8") as reqsfile: FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\allis\\.vscode\\extensions\\ms-python.python-2019.10.41019\\requirements.txt'
Manually adding the requirements.txt from the github repo fixed the issue
Hi allisonChilton 👋 Thank you for reporting this issue, investigating it and adding the workaround! requirements.txt is indeed not shipped in the extension package, so we'll have to add a fallback.
Activity
kimadeline commentedon Oct 9, 2019
Hi allisonChilton 👋 Thank you for reporting this issue, investigating it and adding the workaround!
requirements.txtis indeed not shipped in the extension package, so we'll have to add a fallback.karthiknadig commentedon Oct 10, 2019
For anyone looking, the workaround is to add
requirements.txtfile with this content:to this location on windows:
%USERPROFILE%/.vscode\extensions\ms-python.python-2019.10.41019\or this location on Linux/Mac:
$HOME/.vscode/extensions/ms-python.python-2019.10.41019/beaukinstler commentedon Oct 15, 2019
Here's a link to the file in the repo, just to add another source of reference.
requirements.txt