brad999 / nikita

Nikita voice computing platform
MIT License
1 stars 0 forks source link

Fix urllib3 error messages (InsecurePlatformWarning) #26

Closed brad999 closed 9 years ago

brad999 commented 9 years ago

urllib3 is throwing an insecure platform warning when using AT&T STT engine:

/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:79: 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

brad999 commented 9 years ago

sudo apt-get install python-dev libffi-dev libssl-dev sudo pip install requests[security]

This is not required for python-2.7.9+

http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package