如何在PyCharm中删除已删除的Python环境?

huangapple go评论179阅读模式
英文:

How do I remove deleted Python environments in PyCharm?

问题

在PyCharm中创建新项目时,我可以看到一些我为已删除的旧项目创建的环境:

但我找不到删除这些条目的方法。它们在哪里?如何删除它们?

我尝试按照https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#removing_interpreter中的步骤前往“Python解释器”,但它们就是不在那里。

英文:

When I'm creating a new project in PyCharm, I can see some environments I created for old projects that have been deleted:

如何在PyCharm中删除已删除的Python环境?

but I can't find a way to delete these entries. Where are they? How do I delete them?

I tried going to "Python Interpreters" following https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html#removing_interpreter but they are just not there:

如何在PyCharm中删除已删除的Python环境?

如何在PyCharm中删除已删除的Python环境?

答案1

得分: 2

从“新项目”对话框中的“解释器列表”与项目特定列表具有不同的入口点。转到“文件”>新项目设置>新项目设置(而不是通常的“文件”>设置):

通过另一入口点,您已经可以注意到侧边栏中的“Python解释器”项目在视觉上与您以前的方式稍有不同。从那里开始,重命名对话框与通常的相同,但列表不同。继续到“Python解释器”>显示全部...位于下拉列表底部:

英文:

The Interpreters list from the New Project dialogue has a different entry point from the project specific list. Go to File > New Projects Setup > Settings for New Projects (instead of going to File > Settings as usual):

如何在PyCharm中删除已删除的Python环境?

Going through the other entry point you can already notice the Python Interpreter item in the sidebar is slightly different visually from if you had gone the other route. From there on the renaming dialogues are the same as usual but the lists are different. Continue to Python Interpreter > Show All... at the bottom of the drop down list:

如何在PyCharm中删除已删除的Python环境?

huangapple
  • 本文由 发表于 2023年6月2日 00:25:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/76383937.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定