使用requests时会出席SSL InsecurePlatform error when using Requests package的错误,一般情况下python2.7.10以下的环境会出现此错误。

解决方法:

  安装requests[security] 而不是requests,因为前者会安装三个额外的三方扩展

  • pyOpenSSL
  • ndg-httpsclient
  • pyasnl  

当然具体解释请参考:http://stackoverflow.com/questions/31811949/pip-install-requestssecurity-vs-pip-install-requests-difference

相关文章:

  • 2022-12-23
  • 2021-10-19
  • 2021-06-22
  • 2022-01-12
  • 2021-10-11
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2022-03-05
  • 2021-06-23
  • 2022-01-02
  • 2021-06-23
  • 2021-11-18
  • 2021-12-16
相关资源
相似解决方案