NumTut installation problems
Janko Hauser
jhauser at ifm.uni-kiel.de
Wed May 24 03:31:20 EDT 2000
This means that a function or class array_constructor needs to be
present in the module Numeric. This looks like a version mismatch or
is at least a bug which originates in a version mismatch.
I append the missing function, which needs to be placed in the
Numeric.py file, which sits somewhere on your disk. Probably under
C:\Program Files\Python\
HTH, __Janko
def array_constructor(shape, typecode, thestr, Endian=LittleEndian):
x = fromstring(thestr, typecode)
x.shape = shape
if LittleEndian != Endian:
return x.byteswapped()
else:
return x
--
Institut fuer Meereskunde phone: 49-431-597 3989
Dept. Theoretical Oceanography fax : 49-431-565876
Duesternbrooker Weg 20 email: jhauser at ifm.uni-kiel.de
24105 Kiel, Germany
More information about the Python-list
mailing list