-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error printing sys.path #601
Comments
Please could you install the insiders build and confirm this works as expected. Here's the link with instructions https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING.md#insiders-build This could be related to #436 |
I installed the |
Please could you try to consistently replicate the issue and send us the instructions. Thanks |
Everything is exactly as before, nothing has changed, i still randomly get import sys
print sys.path |
Apparently, this issue isn't present in python 3.6. |
@brettcannon assigned to Jan milestone as this is related to #436 |
@Thalos12 |
@DonJayamanne |
I'm closing this as it's not an issue with the extension. |
@DonJayamanne |
+1 |
In vscode do:
This will fail under powershell or cmd (INSIDE VSCODE ONLY) |
I believe this is the same as a Windows bug that has been reported upstream on VS Code and should get fixed at some point (I have no insight on Windows bugfix release schedules so I can't give an ETA). |
Environment data
VS Code version: 1.19.2
Python Extension version: 0.9.1
Python Version: 2.7.14 (Anaconda)
OS and version: Windows 10 , version 1709, build 16299.192
Actual behavior
Sometimes i get a
No such file or directory
error pointing at the line whereprint sys.path
is placed. This does not happen every time the code is run and does not happen outside of Visual Studio Code (command prompt, powershell, ipython and jupyter are fine).Expected behavior
I expected the code to always print correctly with no errors.
Steps to reproduce:
Create a new file in Visual Studio Code and add the following lines
Right click inside window and select
Run python file in Terminal
.Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)This is my fist time pointing out an issue so if I made some mistakes i'm sorry, i'm no expert, blame my lack of experience.
The text was updated successfully, but these errors were encountered: