解决pip下载安装慢的问题
最近用pip下载第三方库经常出现read time out 的问题,百度了一下发现是因为国外网站经常被墙,好在国内有很多镜像网站,例如,豆瓣:http://pypi.douban.com/simple/
清华:https://pypi.tuna.tsinghua.edu.cn/simple,在下载时只需要在中间加上 '-i' 及对应网址即可,例如: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple sqlalchemy

浙公网安备 33010602011771号