您的位置: 首页 > 文章 > pip加速镜像 pip加速镜像 分类: 文章 • 2022-03-06 15:15:33 pip连接官方镜像会特别慢,在此我们使用阿里云的pip镜像 新建目录:/root/.pip 新建文件:/root/.pip/pip.conf 在pip.conf添加如下内容: [global] timeout = 600 index.url = http://mirrors.aliyun.com/pypi/simple trusted-host = mirrors.aliyun.com