Terminal running pyenv shell but with the wrong version. #22430
Labels
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
Expected vs. Actual
Expected: I open a terminal and EITHER the local venv is activated, OR the python command calls whatever pyenv has it set to (either globally or locally).
Actual: When I open a terminal in a python project with no venv present (like, say, a new project), the terminal runs 'pyenv shell 3.12.0', even though my global pyenv is set to 3.11.3.
I only use pyenv to easily install multiple python versions, and will tend to create a venv for any project, based usually on what pyenv global is set to, sometimes setting pyenv local first if I need to use a different version for whatever reason.
Steps to reproduce:
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: 2023.20.0
VS Code version: Code 1.84.0 (Universal) (d037ac076cee195194f93ce6fe2bdfe2969cc82d, 2023-11-01T11:30:19.406Z)
OS version: Darwin x64 23.0.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: