[Numpy-discussion] numpy1.0rc and matplotlib-0.87.5

Bill Baxter wbaxter at gmail.com
Tue Sep 26 04:29:52 EDT 2006


Are you sure it's matplotlib-0.87.5?
Line 74 in my c:/Python24/Lib/site-packages/matplotlib/numerix/
is "from numpy import *"
and not "Matrix = matrix" as in your stackdump.

You can check the site-packages/matplotlib/__init__.py file for the
__version__ variable to make sure.  Mine's got:
__version__  = '0.87.5'
__revision__ = '$Revision: 2761 $'
__date__     = '$Date: 2006-09-05 09:37:04 -0400 (Tue, 05 Sep 2006) $'


--bb

On 9/26/06, Peter Bienstman <Peter.Bienstman at ugent.be> wrote:
> Hi,
>
> Not sure if this is a numpy or a matplotlib issue, but I can't seem to get
> matplotlib-0.87.5  to work with numpy1.0rc:
>
> Python 2.4.3 (#1, Sep 21 2006, 13:06:42)
> [GCC 4.1.1 (Gentoo 4.1.1)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pylab import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ?
>     from matplotlib.pylab import *
>   File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 196, in ?
>     import cm
>   File "/usr/lib/python2.4/site-packages/matplotlib/cm.py", line 5, in ?
>     import colors
>   File "/usr/lib/python2.4/site-packages/matplotlib/colors.py", line 33, in ?
>     from numerix import array, arange, take, put, Float, Int, where, \
>   File "/usr/lib/python2.4/site-packages/matplotlib/numerix/__init__.py", line
> 74, in ?
>     Matrix = matrix
> NameError: name 'matrix' is not defined
>
> This is on an AMD64 platform. I tried removing the build directories of both
> packages, and reinstalling, but that didn't work.
>
> I also posted this to the matplotlib list, but got no reply.
>
> Thanks!
>
> Peter
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
>
>
>




More information about the NumPy-Discussion mailing list