永久使用

【windows】

在用户名目录下创建一个目录 C:\Users\xxx\pip

【linux】

~/.pip/pip.conf

新建pip.ini

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

 

临时使用

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

 

相关文章:

  • 2022-12-23
  • 2022-01-17
  • 2021-12-28
猜你喜欢
  • 2021-08-06
  • 2021-08-05
  • 2021-09-17
  • 2022-02-20
  • 2021-08-09
  • 2021-09-25
相关资源
相似解决方案