I had this same problem. Installed
matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg on 15 Sept 2010
from matplotlib.sourceforge.net on OSX 10.6.1 and python 2.6 from python.org, and got same error when trying to plot(something). It turns out that all the image files (for buttons on
the plot window, etc) in that directory have permissions similar to
-rw–w---- instead of -rwxr-xr-x.
In our case, the lab administrator account (say, “labadmin”) has administrator privileges and was used to give permission to run the installer. However, the files end up being owned by “macadmin”, and labadmin
isn’t able to chmod or chown them.Otherwise, it would have been an easy problem to solve.
I just checked the bug tracker and didn’t see this error listed.
2010/9/15 tom <tom.christie@…83…>:
Jeremy Conlin <jlconlin@…83…> writes:
I recently installed MPL on two Macs, one running 10.6 and another
running 10.5. When I try to plot, I get the following error:
TclError: couldn’t open
After checking, it’s true that only the owner has read permissions.
This is easy enough on my end, but I wonder if there is a problem with
the distributed installer that should have the correct permissions for
Has anyone else seen this problem or is it just me?
I’m having the exact same problem. I recently installed python 2.6 on 2
different macs, one using OS X 10.5 and one using 10.6. One is a powerPC and
one’s intel, but I get the same error.
Ok, so it seems to be the installer, who’s doing the Mac installers usually?