>做个记录


 pip install pyopenssl ndg-httpsclient pyasn1

>执行后报错

~~~~~~

/usr/lib/python2.7/site-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see

https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.

~~~~~~~

解决办法

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

yum install python-devel libffi-devel openssl-devel

之后在安装pyopenssl ndg-httpsclient pyasn1

 pip install pyopenssl ndg-httpsclient pyasn1

再次执行不会出现警告