[SciPy-dev] Ebuilds and Attribute error
David Huard
david.huard at gmail.com
Wed Nov 1 09:56:57 EST 2006
There's a typo, it should be
x,y = mgrid[-1:1:20j,-1:1:20j]
I couldn't find where this is on the wiki, can you fix it ?
David
2006/10/31, Martin Höfling <martin.hoefling at gmx.de>:
>
> Hi there,
>
> first of all, i've created subversion ebuilds for numpy and scipy so if
> anyone
> is interested in them just tell me.
> It seems as if there' something wrong with numy:
>
> I tried from the tutorial in the documentation.
>
> In [1]: from scipy import *
> In [2]: x,y = mgrid[-1:1:20j,-1:1,20j]
>
> ---------------------------------------------------------------------------
> exceptions.AttributeError Traceback (most
> recent
> call last)
>
> /home/martin/<console>
>
> /usr/lib/python2.4/site-packages/numpy/lib/index_tricks.py in
> __getitem__(self, key)
> 129 typ = int
> 130 for k in range(len(key)):
> --> 131 step = key[k].step
> 132 start = key[k].start
> 133 if start is None: start=0
>
> AttributeError: 'complex' object has no attribute 'step'
>
> I tried also to revert back to numpy 1.0, no change.
>
> Best wishes,
> Martin
> --
> HTML erhöht den Informationsgehalt eines Postings *immer* um ein paar
> unvorteilhafte Informationen über den Verfasser.
> (Thore Tams, de.soc.netzkultur, 17.5.1999)
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20061101/b1f621f2/attachment.html>
More information about the SciPy-Dev
mailing list