vi ~/.pip/pip.con
#正确写法 
 1 [global]
  2 timeout = 6000
  3 index-url = https://pypi.douban.com/simple
  4 
  5 [install]
  6 use-mirrors = true
  7 mirrors = https://pypi.douban.com/simple/
  8 trusted-host=pypi.douban.com


#错误写法
 1 [global]
  2 timeout = 6000
  3 index-url = http://pypi.douban.com/simple
  4 
  5 [install]
  6 use-mirrors = true
  7 mirrors = http://pypi.douban.com/simple/
  8 trusted-host=pypi.douban.com

 

 

相关文章:

  • 2022-12-23
  • 2021-11-15
  • 2021-04-04
  • 2021-09-03
  • 2021-12-05
  • 2021-06-24
  • 2022-12-23
  • 2021-10-17
猜你喜欢
  • 2022-12-23
  • 2021-07-13
  • 2021-10-14
  • 2021-04-30
  • 2021-06-03
  • 2021-07-27
相关资源
相似解决方案