As far as I can tell, I don't even need pytz for what I'm doing.
I retrain python for image processing using O'Reilly's book "Programming Computer Visions with Python" to work (and I'm also new to Mac, so for both points I apologize if this is a stupid question). Along with the image 'empire.jpg', I'm trying to run a script on page 16 that looks like this:
from PIL import Image from pylab import *
but I get the following output with an error:
File "plotch1.py", line 2, in <module> from pylab import * File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pylab.py", line 208, in <module> from matplotlib import mpl
I am using OS X 10.9.4. I installed matplotlib and numpy from macpython.org and I installed scipy 0.11.0 for python 2.5.
Do I even need pytz? If not, how can I get around this error?
source share