python第三方库,国内镜像源(清华&阿里)

Python014

python第三方库,国内镜像源(清华&阿里),第1张

命令:

例:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5

国内两个镜像源:

清华: https://pypi.tuna.tsinghua.edu.cn/simple

阿里: http://mirrors.aliyun.com/pypi/simple

1、更换anaconda源,使用清华大学镜像:清华大学镜像。

2、更换pip源,在python安装目录的bin目录下运行。

3、设置pip镜像源环境,保存即配置好了pip镜像源,即可完成重写。