Python使用阿里云镜像

临时使用

pip install 包名 -i https://mirrors.aliyun.com/pypi/simple/

以后都使用阿里云的源

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

原文地址:https://www.cnblogs.com/xxsl/p/13511044.html