Question: Im using Python 2.7.3 and Requests. I installed Requests via pip. I believe it's the latest version. I'm running on Debian Wheezy.

I've used Requests lots of times in the past and never faced this issue, but it seems that when making https requests with `Requests` I get an `InsecurePlatform` exception.

The error mentions `urllib3`, but I don't have that installed. I did install it to check if it resolved the error, but it didn't.

```
/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.

```

Any ideas as to why I'm getting this? I've checked the docs, as specified in the error message, but the docs are saying to import urllib3 and either disable the warning, or provide a certificate.

Answer: 
I had to go to `bash` (from ZSH) first. Then

```
sudo -H pip install 'requests[security]' --upgrade

```

fixed the problem.
For me no work i need upgrade pip....

Debian/Ubuntu

install dependencies

```
sudo apt-get install libpython-dev libssl-dev libffi-dev

```

upgrade pip and install packages

```
sudo pip install -U pip
sudo pip install -U pyopenssl ndg-httpsclient pyasn1

```

If you want remove dependencies

```
sudo apt-get remove --purge libpython-dev libssl-dev libffi-dev
sudo apt-get autoremove

```