The repository located at pypi.douban.com is not a trusted or secure host and is being ignored


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

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM