Can't import matplotlib
Following Justin's comment ... here is the equivalent file for Linux:
/usr/lib/pymodules/python2.6/matplotlib/__init__.py
sudo edit that to fix the troublesome line to:
if not ((int(nn[0]) >= 1 and int(nn[1]) >= 1) or int(nn[0]) >= 2):
Thanks Justin Peel!
I installed matplotlib using the Mac disk image installer for MacOS 10.5 and Python 2.5. I installed numpy then tried to import matplotlib but got this error: ImportError: numpy 1.1 or later is required; you have 2.0.0.dev8462. It seems to that version 2.0.0.dev8462 would be later than version 1.1 but I am guessing that matplotlib got confused with the ".dev8462" in the version. Is there any workaround to this?