It looks like this import error is actually inside Numpy.  Try 
completely removing it and reinstalling.

Cheers,
Mike

Zhuanshi He wrote:
> Hi
>
> I just installed matplotlib-0.98.3-py2.5-win32.egg using
> "easy_inbstall -U matplotlib" on WinXP, and tried to test it under
> ipython. It looks there is an ImportError exist.
>
> Any patch is available?
>
> see my screen outpus:
> --------------------------------------------------------------------------------------------------------------------
> Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.9.1 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: import matplotlib
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
>
> C:\Python25\Scripts\<ipython console> in <module>()
>
> c:\python25\lib\site-packages\matplotlib-0.98.3-py2.5-win32.egg\matplotlib\__ini
> t__.py in <module>()
>     126 import sys, os, tempfile
>     127
> --> 128 from rcsetup import defaultParams, validate_backend, validate_toolbar
>     129 from rcsetup import validate_cairo_format
>     130
>
> c:\python25\lib\site-packages\matplotlib-0.98.3-py2.5-win32.egg\matplotlib\rcset
> up.py in <module>()
>      17 import warnings
>      18 from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
> ---> 19 from matplotlib.colors import is_color_like
>      20
>      21 #interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 
> 'qt4
> agg',
>
> c:\python25\lib\site-packages\matplotlib-0.98.3-py2.5-win32.egg\matplotlib\color
> s.py in <module>()
>      37 import numpy as np
>      38 from numpy import ma
> ---> 39 import matplotlib.cbook as cbook
>      40
>      41 cnames = {
>
> c:\python25\lib\site-packages\matplotlib-0.98.3-py2.5-win32.egg\matplotlib\cbook
> .py in <module>()
>       7 import time, datetime
>       8 import numpy as np
> ----> 9 import numpy.ma as ma
>      10 from weakref import ref
>      11
>
> C:\Python25\Lib\site-packages\numpy\ma\__init__.py in <module>()
>      15 from core import *
>      16
> ---> 17 import extras
>      18 from extras import *
>      19
>
> C:\Python25\Lib\site-packages\numpy\ma\extras.py in <module>()
>      39 from numpy import ndarray, array as nxarray
>      40 import numpy.core.umath as umath
> ---> 41 from numpy.lib.index_tricks import AxisConcatenator
>      42 from numpy.lib.polynomial import _lstsq, _single_eps, _double_eps
>      43
>
> ImportError: cannot import name AxisConcatenator
>
> In [2]:
>
> -------------------------------------------------------------------------------------
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to