pip安装更改镜像源

输入命令:pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

常见的镜像源地址:

http://pypi.douban.com/ # 豆瓣
http://pypi.hustunique.com/ # 华中理工大学
http://pypi.sdutlinux.org/ # 山东理工大学
http://pypi.mirrors.ustc.edu.cn/ # 中国科学技术大学
http://mirrors.aliyun.com/pypi/simple/ # 阿里云
https://pypi.tuna.tsinghua.edu.cn/simple/ # 清华大学

然后再次进行pip安装需要安装的

posted @ 2021-03-10 21:59  挣扎的咸鱼  阅读(190)  评论(0)    收藏  举报