Mirrors of PIP

Python Package Index

Website - Official

Mirrors from Official

镜像地址:http://cdn.mirrors.shareany.com/pypi/

方法一:手动指定镜像地址(注意后面带个simple)

pip install flask -i http://cdn.mirrors.shareany.com/pypi/simple --trusted-host cdn.mirrors.shareany.com

方法二:全局修改。修改pip.confpip.ini文件

[global]
index-url = http://cdn.mirrors.shareany.com/pypi/simple

Mirrors in Mainland China

Douban - USTC