Problem with Python-2.1.1 and Numeric-20.1.0

Alexander V. Voinov avv at
Thu Jul 26 17:50:54 EDT 2001


It says:

    data = Numeric.transpose(data)
  File "/.../site-packages/Numeric/", line 280, in transpose
    axes = arange(len(array(a).shape))[::-1]
  File "/.../site-packages/Numeric/", line 159, in arrayrange
    m = (add.accumulate(ones((n,), Int))-1)*step +(start+(stop-stop))
NameError: global name 'add' is not defined

The program worked OK with Python-2.0 and Numeric-17.1.

Thank you in advance


More information about the Python-list mailing list