question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Select Python Interpreter

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
karrtikrcommented, May 6, 2022

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.

1reaction
yq574485585commented, Mar 6, 2022

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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select Python interpreter does not work in VScode
Press F1 to open the menu. Menu · Select Python:Select Interpreter. If you don't see it, try to type it. · Select the...
Read more >
Unable to select Python Interpreter · Issue #18231 - GitHub
On Clicking "Select Interpreter" on bottom left of VS Code >> "+ Enter Interpreter Path..." >> Find a dialog box open where I...
Read more >
Configure a Python interpreter | PyCharm Documentation
Expand the list of the available interpreters and click the Show All link. ... Select the target interpreter. ... When PyCharm stops supporting...
Read more >
Using Python environments in VS Code
If you create a new conda environment while VS Code is running, use the refresh icon on the top right of the Python:...
Read more >
I can't select the Interpreter in Visual Studio Code
It seems that VS Code Editor can't find your python executable. Check if it's installed where VS Code thinks it's installed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found