Steven H. Rogers wrote:
Robert Kern wrote:
Could you show some code that fails and the error that results? Are you sure that you don't have an older version of scipy installed?
When I wrote the previous post nothing seemed to work. Things are looking better now.
steve@sojourner:~$ python Python 2.4.2 (#1, Sep 30 2005, 18:34:48) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from scipy import * a = array([[1,2,3],[4,5,6]]) print a [[1 2 3] [4 5 6]] a[1,1] 5 a.shape (2, 3) a.dtype Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: dtype
Are you sure that you don't have an older version of scipy installed? It should have a version number 0.4.x, not 0.3.x: In [6]: scipy.__version__ Out[6]: '0.4.2' -- Robert Kern rkern@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter