美文网首页
2020-03-04 mirrors 镜像

2020-03-04 mirrors 镜像

作者: 凌空_lingkong | 来源:发表于2020-03-04 16:04 被阅读0次

淘宝的镜像

pypi 镜像使用帮助
pypi 镜像每 5 分钟同步一次。

临时使用

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

注意,simple 不能少, 是 https 而不是 http

设为默认
升级 pip 到最新的版本 (>=10.0.0) 后进行配置:

pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

如果您到 pip 默认源的网络连接较差,临时使用本镜像站来升级 pip:

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

相关文章

网友评论

      本文标题:2020-03-04 mirrors 镜像

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