What does one have to install from the command line to fix this? I'm getting
the same error running the basemap examples, after installing matplotlib
0.90 via egg and basemap via installer, and numpy via source.

Traceback (most recent call last):
  File "simpletest.py", line 1, in <module>
    from matplotlib.toolkits.basemap import Basemap
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py",
line 1, in <module>
    from basemap import __doc__, __version__
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py",
line 1, in <module>
    from matplotlib import rcParams
ImportError: cannot import name rcParams




Chris Fonnesbeck wrote:
> 
> Christopher Fonnesbeck <[EMAIL PROTECTED]> writes:
> 
>> 
>> On recent builds of matplotlib (svn and 0.90) I encounter an import error
>> when
>> trying to import pylab:
>> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
>> /matplotlib/numerix/__init__.py",
>> line 20, in <module>
>>     from matplotlib import rcParams, verbose
> ...
>> ImportError: cannot import name rcParams
>> 
> 
> Update: Actually this appears to be related to the bdist_mpkg module that
> I used
> to build the metapackage. Installing from the command line completely
> fixes the
> problem. Not sure how to fix this though.
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/rcParams-is-missing-tf3653185.html#a10242129
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to