Closed HughGrovesArup closed 4 years ago
@HughGrovesArup As you identified, this is a issue we see when the conda
environment is not activated. This should be addressed when we fix #5559
@HughGrovesArup
Generally we activate the environment in the terminal. Looks like the activation is failing or the activation command hasn't even been sent to the terminal.
@DonJayamanne the command that gets printed is:
& C:/Users/Hugh.Groves/AppData/Local/Continuum/Anaconda3/envs/rhinocompute/python.exe c:/Users/Hugh.Groves/Documents/VS_Code_Projects/RhinoComputePyTest/rcpyt.py
The screen looks like this:
Using the new vsc API to activate terminal should help with this issue. Closing this in favor of #11039
Environment data
"python.jediEnabled"
set to; more info #3977): jedi=truepython.languageServer
setting: ?Expected behaviour
Script should run with no errors. This is true for the same environment when run from anaconda prompt.
Actual behaviour
When run with 'run python file in terminal' I get an SSL exception (below).
Will this possibly be fixed with https://github.com/microsoft/vscode-python/issues/5559?
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)