pip使用国内源升级

 python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip

 

常用的国内源

https://pypi.tuna.tsinghua.edu.cn/simple/    # 清华大学
https://mirrors.aliyun.com/pypi/simple/        # 阿里云
https://pypi.douban.com/simple/                # 豆瓣
https://pypi.mirrors.ustc.edu.cn/simple/    # 中国科学技术大学
https://pypi.hustunique.com/                # 华中科技大学

 

升级其他包同样可用

python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple Numpy

 

相关文章:

  • 2021-06-04
  • 2021-06-24
  • 2022-02-01
  • 2022-01-09
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案