清华大学下载镜像源

清华大学下载镜像源

  • 可以在使用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
 

猜你喜欢

转载自www.cnblogs.com/mujun95/p/11870008.html