NumTut installation problems

Janko Hauser jhauser at
Wed May 24 09:31:20 CEST 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 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()
        return x

  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at
  24105 Kiel, Germany

More information about the Python-list mailing list