pycharm换清华源
时间: 2023-11-28 12:44:22 浏览: 275
在Pycharm中更换清华源的步骤如下:
1. 点击File菜单,选择Settings进入到Package添加界面。
2. 在左侧列表中选择Project Interpreter,然后在右侧列表中选择需要更换源的Python解释器。
3. 在右侧列表底部点击加号,选择Manage Repositories。
4. 在弹出的对话框中点击加号,输入清华源的地址:https://pypi.tuna.tsinghua.edu.***可以在Pycharm中的Terminal中输入以下命令:
```
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
相关问题
pycharm设置清华源
可以按照以下步骤设置PyCharm的清华源:
1. 打开PyCharm,点击File -> Settings
2. 在Settings菜单中,找到Project Interpreter选项,点击右侧的“+”号
3. 在添加Interpreter窗口中,选择“Manage Repositories”,在弹出的窗口中选择“Clear All”按钮
4. 点击右侧的“+”号,输入“清华”作为名称,将以下地址复制到URL栏中:https://pypi.tuna.tsinghua.edu.cn/simple/
5. 点击“OK”按钮,返回到添加Interpreter窗口中,选择清华源,点击“Install Packages”按钮即可完成设置。
Pycharm删除清华源
要在Pycharm中删除清华源,您可以按照以下步骤进行操作:
1.打开Pycharm
2.点击"File"菜单,选择"Settings"选项
3.在弹出的对话框中选择"Project Interpreter"
4.在右侧的窗口中找到需要删除的清华源,点击其后面的"Settings"按钮
5.在弹出的对话框中,点击"Show All"按钮,展开所有的源选项
6.找到需要删除的清华源,点击其后面的"minus"按钮,即可删除该源
阅读全文
相关推荐
















