示例:
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install scrapy -i http://mirrors.aliyun.com/pypi/simple/
镜像源不太稳定时,可以按需切换:
清华:https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/
华中科技大学:http://pypi.hustunique.com/simple/
上海交通大学:https://mirror.sjtu.edu.cn/pypi/web/simple/
豆瓣:http://pypi.douban.com/simple