美文网首页我爱编程程序员之路
更换PIP安装国内镜像提速

更换PIP安装国内镜像提速

作者: Kimx510 | 来源:发表于2018-04-14 16:10 被阅读0次

参考https://www.cppentry.com/bencandy.php?fid=77&id=165878

https://blog.csdn.net/lambert310/article/details/52412059

目前只针对windows,linux后续更新

1.windows下,直接在user目录中(如C:\Users\Administrator)创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini,

内容如下:(使用阿里云国内镜像)

        [global]

        index-url=http://mirrors.aliyun.com/pypi/simple/

        [install]

        trusted-host=mirrors.aliyun.com

然后保存之后用pip安装测速(亲测9M):

相关文章

网友评论

    本文标题:更换PIP安装国内镜像提速

    本文链接:https://www.haomeiwen.com/subject/paylkftx.html