21 Jul 19:20
Re: Problems on Installing New Fipy
From: Daniel Wheeler <daniel.wheeler2@...>
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-21 17:20:11 GMT
Subject: Re: Problems on Installing New Fipy
Newsgroups: gmane.comp.python.fipy
Date: 2008-07-21 17:20:11 GMT
On Mon, Jul 21, 2008 at 11:02 AM, Zhiwen Liang <lzwpurdue@...> wrote: >>> "/sw/lib/python2.3/site-packages/matplotlib/numerix/_sp_imports.py", line 1, >>> in ? >>> from numpy import Int8, UInt8, \ >>> ImportError: cannot import name Int8 >> > > Regarding Daniel's question, I have the following output. > What happens when you do "python -c 'from numpy.oldnumeric import Int8'"? > > I can import Int8 this way. Paste the contents of "/sw/lib/python2.3/site-packages/matplotlib/numerix/_sp_imports.py" in an email. What version of matplotlib do you have? Look in "/sw/lib/python2.3/site-packages/matplotlib/__init__.py" and look for "__version__" to find out. > What happens when you do "python -c 'from numpy import Int8'"? > The error is: > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: cannot import name Int8 > What happens when you do "python -c 'import numpy; print > numpy.__version__'"? > > It is 1.0.1 -- -- Daniel Wheeler
RSS Feed