VS Code无法定位Python问题求助:如何切换至Python 3.9并实现多版本切换
I’m trying to switch my working Python version from 3.10 to 3.9 in VS Code, but I’ve run into a frustrating issue: the editor doesn’t show any available Python versions at all. Even manually entering the interpreter path in the top path input box does nothing to fix this.
I’ve researched solutions to similar problems, and most of them center around modifying the Python interpreter path. But I’ve tried every approach I can think of—including uninstalling and reinstalling all related programs—and still can’t get VS Code to recognize any versions.
To add more context:
- The first screenshot is from the VS Code terminal, showing the default interpreter path I’ve configured in the editor.
- The second screenshot is from Windows Command Prompt, displaying the Python version that’s currently active system-wide.
My end goal is to use Python 3.10 and 3.9 in separate project folders, but right now my top priority is getting VS Code to detect Python 3.9 first. I figure once that’s resolved, managing version switching across folders should be straightforward.
I’m crossing my fingers this is just an obvious, silly mistake I’m overlooking. Any help would be massively appreciated!
内容的提问来源于stack exchange,提问作者Will Jordan

