国内的pip资源库,国内python库,国内镜像 安装时如: pip install xxxx -i http://mirrors.aliyun.com/pypi/simple/ 从阿里云镜像安装
阿里云 https://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) https://pypi.douban.com/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/ 安装指定版本的 pip3 install xlrd==1.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/ 升级pip3 pip3 install --upgrade pip==20.3.3
在没有网的情况下如何使用pip安装python包
如何使用pip安装国内源
pip3 install demjson -i https://pypi.douban.com/simple
如何使用pip安装指定版本的包
加上 xlrd 和指定版本即可 pip3 install xlrd==1.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/