pip install waring "SNIMissingWarning","InsecurePlatformWarning"
2017-10-10 00:00
1056 查看
/usr/local/lib/python2.7/dist-packages/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.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning
ubuntu 版本14.04, python版本 2.7.6
解决方法:
sudo apt-get install python-dev libffi-dev libssl-dev
其他系统版本
sudo pip install pyOpenSSL ndg-httpsclient pyasn1 Or sudo pip install -U pyopenssl ndg-httpsclient pyasn1 Or sudo pip install --upgrade pip Or sudo pip install requests==2.5.3
相关文章推荐
- python SNIMissingWarning InsecurePlatformWarning
- pip install InsecurePlatformWarning: A true SSLContext object is not available.
- python解决SNIMissingWarning和InsecurePlatformWarning警告 在想要获取https站点的资源时,会报出SNIMissingWarning和InsecureP
- django python报错:SNIMissingWarning,InsecurePlatformWarning
- python解决SNIMissingWarning和InsecurePlatformWarning警告
- python解决SNIMissingWarning和InsecurePlatformWarning警告
- python解决SNIMissingWarning和InsecurePlatformWarning警告
- python解决SNIMissingWarning和InsecurePlatformWarning警告
- pip安装模块警告InsecurePlatformWarning: A true SSLContext object is not available.
- pip: InsecurePlatformWarning: A true SSLContext object is not available
- pip安装模块警告InsecurePlatformWarning: A true SSLContext object is not available.
- pip安装模块警告InsecurePlatformWarning: A true SSLContext object is not available.
- pip安装模块警告InsecurePlatformWarning: A true SSLContext object is not available.
- pip install 出现 Fatal error in launcher: Unable to create process using '"'
- 在使用requests模块时报错:InsecurePlatformWarning:
- Clearcase: Using GUI results in "Missing charsets in String to FontSet conversion" warning
- ubuntu InsecurePlatformWarning:
- python https协议和InsecurePlatformWarning问题
- python问题之requests\packages\urllib3\util\ssl_.py:100: InsecurePlatformWarning
- python pip install 报错TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' Command "python setup.py egg_info" failed with error code 1 in