-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python venv environments not found [python.venvPath] #24110
Comments
Are you able to see other Python interpreter, environments when you trigger select interpreter from the command palette? |
How about when you open your vscode workspace and then set your venvpath in a relative way to your workspace, instead of absolute path? |
my venv environments are in ~/environments and my workspaces are all in ~/projects. |
Is there reason why you set it up that way? @brgsstm If you really like the set up you have you can try to specify your desired virtual environment in the setting: python.venvPaths and see if that finds your desired workspace. |
Yes, I set it up that way as everything under ~/projects I want backed up. ~/environments I don't require backup on as the venv are rebuilt often. I could add exclusions but it's just simpler to exclude ~/environments. Anyhow, I just updated to the September v1.94.0 and now all of my environments are back 👍🏻 |
Closing, v1.94.0 has resolved this |
Type: Bug
Behaviour
Python venv environments from the [python.venvPath] are not available to select when selecting interpreter.
Steps to reproduce:
Create a venv in the [python.venvPath] path. Open VSCode, try to select newly created venv.
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.14.1
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Darwin x64 23.6.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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
The text was updated successfully, but these errors were encountered: