在Python开发中经常需要安装各种第三方模块,因国外pypi经常被墙,会出现不可用的情况,所以最好是更换成国内的镜像源。
比较常用的有豆瓣镜像和清华镜像
豆瓣:http://pypi.doubanio.com/simple/
清华:https://pypi.tuna.tsinghua.edu.cn/simple/
比如要安装Django
在Python开发中经常需要安装各种第三方模块,因国外pypi经常被墙,会出现不可用的情况,所以最好是更换成国内的镜像源。
比较常用的有豆瓣镜像和清华镜像
豆瓣:http://pypi.doubanio.com/simple/
清华:https://pypi.tuna.tsinghua.edu.cn/simple/
比如要安装Django