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]:
-------------------------------------------------------------------------------------
--
Zhuanshi He / Z. He (PhD)
Waterloo Centre for Atmospheric Sciences (WCAS)
Department of Earth and Environmental Sciences
Phy Bldg, Rm 2022
University of Waterloo,
Waterloo, ON N2L 3G1
Canada
Tel: +1-519-888-4567 ext 38053 FAX: +1-519-746-0435