简体   繁体   English

如何在 PyCharm 中一次删除多个虚拟环境?

[英]How to remove multiple virtual environments at once in PyCharm?

I have about 58 virtual environments and I want to remove at least 30 of them.我有大约 58 个虚拟环境,我想删除至少 30 个。 I can remove them one by one by following: File>Settings>Project>Python Interpreter then I click on the cogwheel and on Show all .我可以通过以下方式一一删除它们: File>Settings>Project>Python Interpreter然后单击 cogwheel 并单击Show all Then I click on the interpreter I don't want then I click on the - button at the bottom.然后我单击我不想要的解释器,然后单击底部的-按钮。

It doesn't allow me to select multiple environments.它不允许我 select 多个环境。 So, how can I remove unwanted environments/interpreters at once?那么,如何一次删除不需要的环境/解释器?

I have about 58 virtual environments and I want to remove at least 30 of them.我有大约 58 个虚拟环境,我想删除至少 30 个。 I can remove them one by one by following: File>Settings>Project>Python Interpreter then I click on the cogwheel and on Show all .我可以通过以下方式一一删除它们: File>Settings>Project>Python Interpreter然后单击 cogwheel 并单击Show all Then I click on the interpreter I don't want then I click on the - button at the bottom.然后我单击我不想要的解释器,然后单击底部的-按钮。

It doesn't allow me to select multiple environments.它不允许我 select 多个环境。 So, how can I remove unwanted environments/interpreters at once?那么,如何一次删除不需要的环境/解释器?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM