Skip to content
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

Can't detect Python venv interpreter when open folder with VSCode #16637

Closed
riverscn opened this issue Jul 9, 2021 · 1 comment
Closed

Can't detect Python venv interpreter when open folder with VSCode #16637

riverscn opened this issue Jul 9, 2021 · 1 comment

Comments

@riverscn
Copy link

riverscn commented Jul 9, 2021

Issue Type: Bug

  1. python -m venv venv in a Python project folder.

  2. Right click on a Python project folder which contians a venv folder, and open it with VSCode. (Or cd into the folder in command line, and "code ." to open it.)

  3. Select Interpreter, can't see the one inside venv.
    image

  4. Exit VSCode.

  5. Open VSCode directly, not from a folder. Can see the interpreter inside venv.
    image

  6. Repeat step 1, can't see venv again...
    image

Extension version: 2021.6.944021595
VS Code version: Code 1.58.0 (2d23c42a936db1c7b3b06f918cde29561cc47cd6, 2021-07-08T06:54:55.083Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 5 5600U with Radeon Graphics (12 x 2296)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.36GB (4.08GB free)
Process Argv --crash-reporter-id e7b9cad6-281a-4005-8537-6ee2e9843f58
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30322572
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30335481
vscorehov:30309549
vscod805:30301674
pythonvspyt200cf:30331938
vscextlangct:30333562
binariesv615:30325510
vstea450:30335276
bridge0708:30335490

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 9, 2021
@karthiknadig
Copy link
Member

Duplicate of #16613

@karthiknadig karthiknadig marked this as a duplicate of #16613 Jul 12, 2021
@karthiknadig karthiknadig removed the triage-needed Needs assignment to the proper sub-team label Jul 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants