Windows:

在C:\Users\xxx\AppData\Local\pip 下新建文件pip.ini,填入一下内容

[global]

trusted-host = pypi.douban.com

index-url = http://pypi.douban.com/simple

 

Ubuntu:

进入~/.pip目录,创建pip.conf文件,填入一下内容

[global]

trusted-host = pypi.douban.com

index-url = http://pypi.douban.com/simple

 

命令:

pip install web.py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

相关文章:

  • 2021-07-10
  • 2021-11-12
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案