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
I use the VSCode-Python extension. I disabled all extensions and just have this one enabled. Version 2018.1.0.
Before VSCode version 1.20.0, I used a symlink to my virtualenv that sits in my user dir. So in my launch JSON, I had: "pythonPath": "${config:python.pythonPath}".
In my workspace settings, I had: "python.pythonPath": "${workspaceRoot}/.virtualenv/bin/python". The '.virtualenv' here is a symlink into my actual virtualenv in my user dir.
EXPECTED:
Launch.json points to a workspace config, workspace config has a pythonPath that points to a file within a symlinked dir.
F5, works fine (as it did before versions 1.20.0)
ACTUAL:
2) With version 1.20.0, I get an error at the top: Failed to launch the Python Process, please validate the path '${workspaceRoot}/.virtualenv/bin/python'. In the Debug Console, I see an error: Error: spawn ${workspaceRoot}/.virtualenv/bin/python ENOENT.
VS Code Info
VS Code version: Code 1.20.0 (c63189d, 2018-02-07T17:02:34.244Z)
OS version: Darwin x64 16.7.0
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
Load (avg)
3, 3, 2
Memory (System)
16.00GB (0.02GB free)
Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_18993692
Screen Reader
no
VM
0%
Extensions (1)
Extension
Author (truncated)
Version
python
ms-
2018.1.0
Reproduces without extensions
The text was updated successfully, but these errors were encountered:
Issue Type
Bug
Description
I use the VSCode-Python extension. I disabled all extensions and just have this one enabled. Version 2018.1.0.
Before VSCode version 1.20.0, I used a symlink to my virtualenv that sits in my user dir. So in my launch JSON, I had: "pythonPath": "${config:python.pythonPath}".
In my workspace settings, I had: "python.pythonPath": "${workspaceRoot}/.virtualenv/bin/python". The '.virtualenv' here is a symlink into my actual virtualenv in my user dir.
EXPECTED:
ACTUAL:
2) With version 1.20.0, I get an error at the top: Failed to launch the Python Process, please validate the path '${workspaceRoot}/.virtualenv/bin/python'. In the Debug Console, I see an error: Error: spawn ${workspaceRoot}/.virtualenv/bin/python ENOENT.
VS Code Info
VS Code version: Code 1.20.0 (c63189d, 2018-02-07T17:02:34.244Z)
OS version: Darwin x64 16.7.0
System Info
Extensions (1)
The text was updated successfully, but these errors were encountered: