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 tried last version of vscode and python extension on last Fedora 36 and last Debian 11.5.0. Also tried vscode which was downloaded from official website and snap-version. Alos tried 1.71 version of vscode and August version of python extension
P.S. If I choose standard /usr/bin/python3 then all works fine.
Diagnostic data
Python version (& distribution if applicable, e.g. Anaconda): 3.6.15
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Pyenv
Value of the python.languageServer setting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Experiment 'pythonaacf' is active
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
Python interpreter path: ~/.pyenv/versions/3.6.15/bin/python
DAP Server launched with command: /home/alex/.pyenv/versions/3.6.15/bin/python /home/alex/.vscode/extensions/ms-python.python-2022.16.1/pythonFiles/lib/python/debugpy/adapter
Starting Pylance language server.
DAP Server launched with command: /home/alex/.pyenv/versions/3.6.15/bin/python /home/alex/.vscode/extensions/ms-python.python-2022.16.1/pythonFiles/lib/python/debugpy/adapter
User Settings
languageServer: "Pylance"
Extension version: 2022.16.1
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:16:26.920Z)
OS version: Linux x64 6.0.5-200.fc36.x86_64 snap
Modes:
Sandboxed: No
System Info
Item
Value
CPUs
11th Gen Intel(R) Core(TM) i5-11500 @ 2.70GHz (12 x 4200)
brettcannon
changed the title
VSCode doesn't Run/Debug python with pyenv's virtuanenv
VSCode doesn't Run/Debug python with pyenv's virtualenv
Nov 2, 2022
Oh... Python extension doesn't support debugging < 3.7? 😭
I found same bug report #19799
I try all other versions (3.7 ... 3.12) with/without pyenv - and it works fine.
Type: Bug
Behaviour
Expected vs. Actual
Expected: Run
Actual: Doesn't Run
Steps to reproduce:
I tried last version of vscode and python extension on last Fedora 36 and last Debian 11.5.0. Also tried vscode which was downloaded from official website and snap-version. Alos tried 1.71 version of vscode and August version of python extension
P.S. If I choose standard /usr/bin/python3 then all works fine.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2022.16.1
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:16:26.920Z)
OS version: Linux x64 6.0.5-200.fc36.x86_64 snap
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: