Pycharm2024版,更换安装源

1、选择Python Packages

2、点击图中的小齿轮 

3、点击 + 号

4、添加源地址

常用源如下:

清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
豆瓣(douban) :http://pypi.douban.com/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn
要在PyCharm终端中更换镜像,可以按照以下步骤进行操作: 1. 打开PyCharm,点击左下角的Python Packages(可以在任意一个.py文件下找到Python Packages)。 2. 在弹出的窗口中,点击设置(齿轮图标)。 3. 在设置窗口中,点击加号按钮添加新的镜像。 4. 在镜像设置界面中,将镜像的地址设置为https://mirrors.aliyun.com/pypi/simple/,然后点击应用(Apply)按钮。 5. 现在你已经成功更换PyCharm终端的镜像,你可以在左侧的窗格中查看已经添加的镜像。 请注意,以上步骤是在PyCharm中操作的,如果你想在终端中直接更换镜像,可以使用以下命令: ``` pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ ``` 这样就能将全局的pip包管理工具的镜像更换为阿里云。 总结起来,为了在PyCharm终端中更换镜像,可以通过PyCharm的设置界面添加新的镜像,或者通过终端命令直接更换全局pip的镜像。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [pycharm2022.1更换pip镜像](https://blog.csdn.net/qq_36545208/article/details/125312331)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [Pycharm:pip 更换清华、阿里等镜像](https://blog.csdn.net/weixin_42510023/article/details/122377291)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值