https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
https://mirrors.ustc.edu.cn/anaconda/cloud/
https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
- 阿里云镜像:
https://mirrors.aliyun.com/anaconda/pkgs/main/
https://mirrors.aliyun.com/anaconda/pkgs/free/
https://mirrors.aliyun.com/anaconda/cloud/
https://mirrors.aliyun.com/anaconda/cloud/conda-forge/
使用方法:
PIP:
临时使用:
1.单个包:pip install xxx -i <index_url>
2.安装包文件列表: pip install -r requirements.txt -i <index_url>
备注:<index_url>
是你想要使用的镜像源的URL,第二个命令是指定镜像源下载requirements.txt中的所有插件。
永久更改pip的源:
可以执行以下步骤:首先升级pip到最新的版本,然后进行配置。具体操作如下:
1.升级pip:pip install pip -U
2.输入:pip config list,查看现有镜像源<