Problem with Python-2.1.1 and Numeric-20.1.0

Alexander V. Voinov avv at quasar.ipa.nw.ru
Thu Jul 26 23:50:54 CEST 2001


Hi,

It says:

    data = Numeric.transpose(data)
  File "/.../site-packages/Numeric/Numeric.py", line 280, in transpose
    axes = arange(len(array(a).shape))[::-1]
  File "/.../site-packages/Numeric/Numeric.py", 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

Alexander





More information about the Python-list mailing list