pycharm如何更换pip成国内的源

由于默认镜像源为国外服务器,下载速度慢并且还会经常性的失败,故而
提供两种国内镜像源,提高下载速度。
阿里镜像源:http://mirrors.aliyun.com/pypi/simple/
清华镜像源:https://pypi.tuna.tsinghua.edu.cn/simple/

操作步骤
1.file–>Settings–>Python Interpreter–>在这里插入图片描述

双击pip在这里插入图片描述
选中pip,点击Manage Repositories在这里插入图片描述
删除原有链接,点击+号,将最初的链接复制进去即可。在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42856363/article/details/111182807