Hello,I am getting a permission error when trying to open a figure or plotting using matplotlib. TclError: couldn't open "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/mpl-data/images/home.ppm": permission deniedAttached is a test log file. Isaac SalazarW-13: ADVANCED ENGINEERING ANALYSISTA-03, Building 1400, Room 2229MS A142i...@lanl.govphone: 667 9225 Running tests:
__main__.test_imports('setuptools', None) ... ERROR
__main__.test_imports('IPython', None) ... MOD: IPython, version: 0.10
ok
__main__.test_imports('numpy', None) ... MOD: numpy, version: 1.4.1
ok
__main__.test_imports('scipy', None) ... MOD: scipy, version: 0.8.0rc1
ok
__main__.test_imports('scipy.io', None) ...
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/io/matlab/mio5.py:90:
RuntimeWarning: __builtin__.file size changed, may indicate binary
incompatibility
from mio5_utils import VarReader5
MOD: scipy.io, version: *no info*
ok
__main__.test_imports('matplotlib', ) ...
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/__init__.py:854:
UserWarning: This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
if warn: warnings.warn(_use_error_msg)
MOD: matplotlib, version: 1.0.0
ok
__main__.test_imports('pylab', None) ... MOD: pylab, version: *no info*
ok
__main__.test_imports('enthought.mayavi.api', None) ... ERROR
__main__.test_loadtxt(array([[ 0., 1.], ... ok
__main__.test_loadtxt(array([('M', 21, 72.0), ('F', 35, 58.0)], ... ok
__main__.test_loadtxt(array([ 1., 3.]), array([ 1., 3.])) ... ok
__main__.test_loadtxt(array([ 2., 4.]), array([ 2., 4.])) ... ok
Simple plot generation. ... ERROR
Plots with math ... ERROR
==
ERROR: __main__.test_imports('setuptools', None)
--
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "intro_tut_checklist.py", line 95, in check_import
exec "import %s as m" % mnames
File "", line 1, in
ImportError: No module named setuptools
==
ERROR: __main__.test_imports('enthought.mayavi.api', None)
--
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "intro_tut_checklist.py", line 95, in check_import
exec "import %s as m" % mnames
File "", line 1, in
ImportError: No module named enthought.mayavi.api
==
ERROR: Simple plot generation.
--
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py",
line 186, in runTest
self.test(*self.arg)
File "intro_tut_checklist.py", line 171, in test_plot
plt.figure()
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/pyplot.py",
line 270, in figure
**kwargs)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 85, in new_figure_manager
figManager = FigureManagerTkAgg(canvas, num, window)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 403, in __init__
self.toolbar = NavigationToolbar2TkAgg( canvas, self.window )
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 670, in __init__
NavigationToolbar2.__init__(self, canvas)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backend_bases.py",
line 2273, in __init__
self._init_toolbar()
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 719, in _init_toolbar
command=self.home)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py",
line 702, in _Button
im = Tk.PhotoImage(master=self, file=file)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line 3285, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line