ImportError: cannot import name rcParams

Hi All,

I’m running into the following error when I try to run any of the matplotlib examples:

$ python anim.py
Traceback (most recent call last):
File “anim.py”, line 19, in

import pylab as p

File “C:\Python25\Lib\site-packages\pylab.py”, line 1, in
from matplotlib.pylab import *
File “C:\Python25\Lib\site-packages\matplotlib\pylab.py”, line 206, in

from matplotlib.numerix import npyma as ma

File “C:\Python25\Lib\site-packages\matplotlib\numerix_init_.py”, line 20, in
from matplotlib import rcParams, verbose
ImportError: cannot import name rcParams

I’m using the latest versions of matplotlib and numpy, ActivePython 2.5 (all for Windows XP). Any help would be appreciated.

Regards,
Brian.

There was a bug in our windows installer. Please remove the old mpl
install, grab the latest installer from the download site, and try
again.

Sorry for the trouble!

Thanks,
JDH

···

On Dec 2, 2007 1:04 AM, Brian Orr <brian.orr@...287...> wrote:

Hi All,

I'm running into the following error when I try to run any of the matplotlib
examples:

$ python anim.py
Traceback (most recent call last):
  File "anim.py", line 19, in <module>
    import pylab as p
  File "C:\Python25\Lib\site-packages\pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "C:\Python25\Lib\site-packages\matplotlib\pylab.py", line 206, in
<module>
    from matplotlib.numerix import npyma as ma
  File "C:\Python25\Lib\site-packages\matplotlib\numerix\__init__.py", line
20, in <module>
    from matplotlib import rcParams, verbose
ImportError: cannot import name rcParams

I'm using the latest versions of matplotlib and numpy, ActivePython 2.5 (all
for Windows XP). Any help would be appreciated.