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
Final update after a long struggle.
Method 1: Works Partially
Launch Anaconda Navigator.
Launch VSCode via the Navigator.
Works: Running a Python Program by sending it to Terminal
Fails: Launching the Interactive Window or sending a section of the code to the interactive window. Jupyter server fails to launch.
Method 2: Works Partially
5. Launch VSCode from the Start Menu directly.
6. Works: Interactive Window works perfectly.
7. Fails: Terminal fails because it can’t find Python modules such as Numpy.
This is still cumbersome but workable. I use Method 1 when I need to run via Terminal and Method 2 when I need the interactive window.
Editing settings.json in the user directory as follows did not help:
This is what my settings.json looks like.
{
"editor.minimap.enabled": false,
"python.dataScience.sendSelectionToInteractiveWindow": true,
"python.pythonPath": "C:\Users\dgode\Miniconda3",
"terminal.integrated.env.windows": {
"PATH": ""
},
"window.zoomLevel": 1
}
The text was updated successfully, but these errors were encountered:
I filed the following issue with VSCode Python. I was told that this is an Anaconda issue.
microsoft/vscode-python#5145
The final email below summarizes the problems.
From: Dan Gode dan.gode@almaris.com
Sent: Wednesday, April 10, 2019 6:32 AM
To: 'Microsoft/vscode-python' reply+02df04a9cbaf0f1c66fc58436db4d822dd2d2d042757283b92cf0000000118c3894392a169ce19a2c6d2@reply.github.com; 'Microsoft/vscode-python' vscode-python@noreply.github.com
Cc: 'Author' author@noreply.github.com
Subject: Partially Resolved: [Microsoft/vscode-python] Activating Python 3.7.3 64-bit ('base': conda) to run Jupyter failed with Error: Command failed (#5145)
Final update after a long struggle.
Method 1: Works Partially
Method 2: Works Partially
5. Launch VSCode from the Start Menu directly.
6. Works: Interactive Window works perfectly.
7. Fails: Terminal fails because it can’t find Python modules such as Numpy.
This is still cumbersome but workable. I use Method 1 when I need to run via Terminal and Method 2 when I need the interactive window.
Editing settings.json in the user directory as follows did not help:
This is what my settings.json looks like.
{
"editor.minimap.enabled": false,
"python.dataScience.sendSelectionToInteractiveWindow": true,
"python.pythonPath": "C:\Users\dgode\Miniconda3",
"terminal.integrated.env.windows": {
"PATH": ""
},
"window.zoomLevel": 1
}
The text was updated successfully, but these errors were encountered: