ImportError: No module named Image
I have also tried
from PIL import Image
Install Pillow instead
pip install Pillow
http://stackoverflow.com/questions/21456964/importerror-no-module-named-image
http://stackoverflow.com/questions/20060096/installing-pil-with-pip
Install pip
To install pip, securely download get-pip.py.
Then run the following (which may require administrator access):
python get-pip.py
If setuptools is not already installed, get-pip.py
will install setuptools for you.
To upgrade an existing setuptools, run pip install -U setuptools
.
Additionally, get-pip.py supports using the pip install
options and the general options. Below are some examples:
Install from local copies of pip and setuptools:
python get-pip.py --no-index --find-links=/local/copies
Install to the user site:
python get-pip.py --user
Install behind a proxy:
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
https://pip.pypa.io/en/latest/installing.html
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately [duplicate]
You only need to install the security package extras (thanks @admdrew for pointing it out)
$ pip install requests[security]
or, install them directly:
$ pip install pyopenssl ndg-httpsclient pyasn1
Requests will then automatically inject pyopenssl into urllib3
http://stackoverflow.com/questions/29134512/insecureplatformwarning-a-true-sslcontext-object-is-not-available-this-prevent
http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package
Surpress InsecureRequestWarning: Unverified HTTPS request is being made in Python2.6
import requests requests.packages.urllib3.disable_warnings()