ImportError: cannot import name rcParams

Hi,

I'm getting the following error when trying to create a plot with
matplotlib. I am using matplotlib-0.91.2 on CentOS 4 with python 2.3.
We are running it with mod_python and Apache in a web service
configuration.

File
"/usr/lib/python2.3/site-packages/matplotlib-0.91.2_r0-py2.3-linux-i686.egg/matplotlib/dates.py", line 88, in ?
    import matplotlib.ticker as ticker

  File "/usr/lib/python2.3/site-packages/matplotlib-0.91.2_r0-py2.3-linux-i686.egg/matplotlib/ticker.py", line 116, in ?
    from matplotlib import verbose, rcParams

ImportError: cannot import name rcParams

This error has only appeared since we started using Apache 2.2 instead
of 2.0. I can do the import just fine from the command line in a python
2.3 shell. Any ideas?

Thanks,
Rich

My guess is that somewhere on your system you have an old matplotlib
installed that had the namespace package declared, and this is fouling
up your import.

JDH

···

On Fri, Apr 25, 2008 at 11:51 AM, Rich Fought <whatever@...1930...> wrote:

This error has only appeared since we started using Apache 2.2 instead
of 2.0. I can do the import just fine from the command line in a python
2.3 shell. Any ideas?