You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Code无法定位Python问题求助:如何切换至Python 3.9并实现多版本切换

VS Code Fails to Detect Any Python Versions (Can't Switch from 3.10 to 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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.28 11:57:30