清华大学下载镜像源

时间:2019-11-16 00:17:40   收藏:0   阅读:10355

清华大学下载镜像源

  • 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple   ,这样就会从清华这边的镜像去安装gevent库。
    •   例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent
  • 或者直接加在后面
    •   例如:pip3 install matplotlib https://pypi.tuna.tsinghua.edu.cn/simple
 
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!