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

如何移除PyCharm新建项目时Base interpreter下拉中的无效项?

移除PyCharm中无效的Base interpreter条目
  • 打开PyCharm设置:Windows/Linux点击File → Settings,Mac点击PyCharm → Settings,直接搜索Interpreter快速定位到相关设置。
  • 进入全局解释器列表:在Python Interpreter界面,点击右上角的齿轮图标,选择Show All...。
  • 删除无效条目:在弹出的窗口里,选中那些灰色的无效解释器条目,点击左上角的减号(-)按钮即可删除。
  • 若删除后仍有残留,清理PyCharm缓存:点击File → Invalidate Caches...,选择Invalidate and Restart重启PyCharm即可。

完成以上操作后,新建项目时Base interpreter下拉菜单就只会保留有效的Python 3.11选项了。

内容的提问来源于stack exchange,提问作者Daniel

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.22 10:04:56