使用阿里云的PyPI源

Posted XYJK1002

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用阿里云的PyPI源相关的知识,希望对你有一定的参考价值。

方法1:(1)创建pip.conf文件

(2).编辑如下内容

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com

方法2:

pip install turtle --trusted-host mirrors.aliyun.com

 

以上是关于使用阿里云的PyPI源的主要内容,如果未能解决你的问题,请参考以下文章