【Error】SSL InsecurePlatform error when using Requests package

使用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

posted @ 2016-03-28 18:48  Chris*Chen  阅读(215)  评论(0编辑  收藏  举报