使用CMD输入一下命令完成换源:
清华大学镜像源:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云镜像源:
pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/
腾讯源镜像源:
pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
华为镜像源:
pip config set global.index-url https://repo.huaweicloud.com/repository/pypi/simple/
中国科学技术大学镜像源:
pip config set global.index-url http://pypi.mirrors.ustc.edu.cn/simple/
华中科技大学镜像源:
pip config set global.index-url http://pypi.hustunique.com/
豆瓣源镜像源:
pip config set global.index-url http://pypi.douban.com/simple/