如何禁用 PyCharm 在启动时自动更新 Python 解释器 [英] How to disable PyCharm from automatically updating Python interpreter on startup

查看:786
本文介绍了如何禁用 PyCharm 在启动时自动更新 Python 解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PyCharm 似乎总是在启动时更新连接的 Python 解释器,并且在需要时扫描和更新所有包.对我来说,这意味着每当我打开 PyCharm 时,都会在后台运行更新进程,有时我不得不等待整整一分钟,我觉得这很烦人.

It seems that PyCharm always updates the connected Python interpreter on startup and also scans and updates all packages if needed. For me this means whenever I open PyCharm there will be updating processes running in background and I have to wait sometimes for as good as a whole minute, which I find quite annoying.

所以问题是:有没有办法禁用这种自动更新机制?如果我可以手动更新 Python 解释器和软件包,那将是最好的只有在我想要的时候.

So the question is: does there exist any way to disable this automatic update mechanism? It would be best if I can manually update Python interpreter and the packages only if I want to.

推荐答案

您可以通过以下两种方式之一手动更新包和更改解释器设置:-

You can manually update the package and change the interpreter settings by following either of the two ways:-

方法 1:您必须转到位于 pycharm 窗口右上角屏幕的编辑配置按钮,然后单击它后从列表中选择您想要的解释器.

Method-1: you have to go to the edit configuration button situated at the topmost right screen of your pycharm window and after clicking on it select the interpreter you want from the list.

方法 2:转到系统设置(在 Windows 中)或系统首选项(在 Mac 中),然后从下拉菜单中选择项目解释器.从那里,您可以更改解释器设置以及从+"号安装软件包.

Method-2: Go to system settings (in Windows) or system preferences (in mac) and then select a project interpreter from the dropdown menu. From there, you can change interpreter settings as well as install packages from the '+' sign.

这篇关于如何禁用 PyCharm 在启动时自动更新 Python 解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆