I'm running on a mac and having an issue with trying to get Pillow working.
My versions are:
python - 2.7.6
pip - 9.0.1
Pillow - 4.0.0
I ran:
pip install Pillow
pip install PIL
pip install numpy
I have uninstalled all and re-tried; but nothing seems to be working.
I use:
from PIL import Image
or
import Image
both of which do not work. When I run "pip show --files Pillow" all my PIL and Pillow files show up.
I also tried to install cv2 using the directions posted here: http://www.mobileway.net/2015/02/14/install-opencv-for-python-on-mac-os-x/
import cv2
I get this as my error:
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named PIL
>>> import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Image
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cv2
Any suggestions on what I am doing wrong?