vscode-python: Cannot Select Python Interpreter

Issue Type: Bug

  1. Every time enter vscode, “Python is not installed” is remainded at the right bottom but actually Python is well-installed.
  2. Cannot select any python interpreter. When click the"Select Python Interpreter" button, no env will be found. It doesn’t work even I added a path to my anaconda env’s interpreter.

VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z) OS version: Windows_NT x64 10.0.18363 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i7-4710HQ CPU @ 2.50GHz (8 x 2494)
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) 7.89GB (4.09GB free)
Process Argv –crash-reporter-id 22d58a57-fa7c-4c23-ab3c-99b6e7b96d9f
Screen Reader no
VM 0%
Extensions (6)
Extension Author (truncated) Version
vscode-language-pack-zh-hans MS- 1.64.7
python ms- 2022.0.1814523869
vscode-pylance ms- 2022.2.3
jupyter ms- 2022.1.1301854968
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.6
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrc:30437038
vsrem710:30416614
dsvsc008:30440022
pythonvsnew555:30442236
vsbas813:30436447
vscscmwlcmt:30438805
helix:30440343
vscaat:30438848

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

I’ll take it the original bug is now fixed as no response was provided, closing this. Let me know if it hasn’t been fixed and we’ll be happy to reopen.

@thesalmonidae The issue you face is likely due to https://github.com/microsoft/vscode-python/issues/18930.

Can’t select Python Interpreter if directory name has symbol, for example “C:\Workspace\C++” it will fail to find the Python Interpreter, “C:\Workspace\CPP” is ok.

However my Python Interpreter directory name doesn’ t have any symbol, so it’s not the solution for my case. Anyway thanks for your reply 😃