可供选择国内源有:

1、清华大学        https://pypi.tuna.tsinghua.edu.cn/simple
2、中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
3、阿里云            http://mirrors.aliyun.com/pypi/simple/
4、豆瓣                http://pypi.douban.com/simple/

设置国内源的方法如下打开CMD,在CMD中输入如下命令即可,此次使用阿里云提供的源:

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

 阿里有限速,可以尝试清华源:

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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注