http://blog.csdn.net/henulwj/article/details/48131393/
The following warning occurs when installing a Third-party module with the pip7.1.2 version:
<code class= "Hljs avrasm has-numbering" >/usr/lib/python2<span class= "Hljs-number" >.7</span>/ Site-packages/pip-<span class= "Hljs-number" >7.1</span><span class= "Hljs-number" >.2</span >-py2<span class= "Hljs-number" >.7</span><span class= "Hljs-preprocessor" >.egg</span>/ Pip/_vendor/requests/packages/urllib3/util/ssl_<span class= "Hljs-preprocessor" >.py</span>:<span class= "Hljs-number" >90</span>: <span class= "Hljs-label" >InsecurePlatformWarning:</span> A
True Sslcontext object is not available. This prevents URLLIB3 from configuring SSL appropriately <span class= "Hljs-keyword" >and</span> may cause Cert Ain SSL connections to fail. For more information, <span class= "Hljs-label" >https:</span>//urllib3<span class= " Hljs-preprocessor ">.readthedocs</span><span class=" Hljs-preprocessor ">.org</span>/en/ Latest/security<span class= "hljs-preprocessor ">.html</span><span class=" Hljs-preprocessor "> #insecureplatformwarning. </span></code ><ul style= "Display:block" class= "pre-numbering" ><li>1</li><li>2</li><li >3</li><li>4</li><li>5</li></ul>
Prompt is due to URLLIB3 SSL connection failure resolution
First install Python-devel Libffi-devel openssl-devel
Yum Install Python-devel libffi-devel openssl-devel
After installing the Pyopenssl ndg-httpsclient PYASN1
Pip Install Pyopenssl ndg-httpsclient PYASN1
There is no warning when running the PIP