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)
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@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@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-dev
Am Mittwoch, 1. November 2006 15:56 schrieb David Huard:
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 ?
I have it from an old pdf, probably describing an "ancient" scipy version. That's why i compiled scipy from svn cause i tried to use some packages from "sandbox". Thanks for your tip. At least i can now use the example... Regards Martin -- Falls dir die Antwort zu ungenau erscheint, könnte es an der Fragestellung liegen. (Daniel Fass in de.org.ccc)
participants (2)
-
David Huard
-
Martin Höfling