Comment 18 for bug 195772

wegfwe432 (tr76) wrote :

Thank you very much for your responses.

I installed Rolf's python-matplotlib-data and python-matplotlib-doc packages and Benjamin's gutsy python-matplotlib. However, now I'm getting the following errors when I try to run Matplotlib scripts:

me@my-computer:~$ python
Traceback (most recent call last):
  File "", line 1, in <module>
    from pylab import *
  File "/usr/lib/python2.5/site-packages/", line 1, in <module>
    from matplotlib.pylab import *
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 639, in <module>
    rcParams = rc_params()
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 562, in rc_params
    fname = matplotlib_fname()
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 517, in matplotlib_fname
    path = get_data_path() # guaranteed to exist or raise
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 207, in wrapper
    ret = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 447, in _get_data_path_cached
    defaultParams['datapath'][0] = _get_data_path()
  File "/usr/lib/python2.5/site-packages/matplotlib/", line 443, in _get_data_path
    raise RuntimeError('Could not find the matplotlib data files')
RuntimeError: Could not find the matplotlib data files

The script that I'm running is:

from pylab import *

Does anyone see where the problem is?