Estoy observando un mensaje de alerta (no es un error) InsecurePlatformWarning
al ejecutar el comando pip
en Linux:
$ pip search reportlab
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail.
For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
reportlab - The ReportLab Toolkit
Tengo instalada la última versión de pip
:
$ pip show pip
---
Metadata-Version: 2.0
Name: pip
Version: 7.1.2
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: python-virtualenv@groups.google.com
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires:
Estoy usando Python 2.7.6.
En versiones anteriores no me mostraba este mensaje. Entiendo que me está indicando que mi plataforma es insegura, ¿cómo o qué tengo que instalar para evitar recibir esta alerta?
Actualización:
Ya tengo instalada la última versión de PyOpenSSL:
$ pip show pyOpenSSL
---
Metadata-Version: 1.0
Name: pyOpenSSL
Version: 0.13
Summary: Python wrapper module around the OpenSSL library
Home-page: http://pyopenssl.sourceforge.net/
Author: Jean-Paul Calderone
Author-email: exarkun@twistedmatrix.com
License: APL2
Location: /usr/lib/python2.7/dist-packages
Requires:
Si intento instalar request[security]
me da el siguiente mensaje:
$ pip install 'request[security]'
requests 2.2.1 does not provide the extra 'security'
requests[security]
? -->pip install 'requests[security]'
requests 2.2.1 does not provide the extra 'security'