皮普安装模块警告InsecurePlatformWarning:一个真正SSLContext对象不可用。

   /usr/lib/python2.7/网站/pip-7.1.2-py2.7.egg/脉冲/_vendor/请求/包/urllib3/util/ssl_.py: 90:,   InsecurePlatformWarning: A  true  SSLContext  object  is  not 可用又是;   却,能够prevents  urllib3 得到configuring  SSL  appropriatelyand  may    cause  certain  SSL  connections 用失败只For  more 信息,阅读;   https://urllib3.readthedocs.org/en/latest/security.html insecureplatformwarning。

提示是由于urllib3的SSL连接失败

<人力资源/>

<强>解决方法

首先安装Python-devel libffi-devel openssl-devel

 yum  install  python-devel  libffi-devel  openssl-devel 

之后在安装pyopenssl ndg-httpsclient pyasn1

 pip  install  pyopenssl  ndg-httpsclient  pyasn1 

上面的包与模块安装后,就不会出现上面的告警了。


皮普安装模块警告InsecurePlatformWarning:一个真正SSLContext对象不可用。