1. 指定阿里云镜像, 安装requirements.txt中的所有

pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -r requirements.txt

我这里是用了阿里云,当然可以指定其他的

2. 指定阿里云镜像, 安装flask

pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com flask

2. 其他镜像

参考:pip使用国内镜像

其他参考:
pip官网

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案