Problem with Python-2.1.1 and Numeric-20.1.0

Joal Heagney s713221 at student.gu.edu.au
Fri Jul 27 04:32:57 EDT 2001


"Alexander V. Voinov" wrote:
> 
> 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

I've gotten something similar when I upgraded to python 2.1.1, even
recompiling the numeric modules.

>>> import RandomArray
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/Numeric/RandomArray.py", line
3, in ?
    import LinearAlgebra
  File "/usr/lib/python2.1/site-packages/Numeric/LinearAlgebra.py", line
8, in ?
    import lapack_lite
ImportError: /usr/lib/python2.1/site-packages/Numeric/lapack_lite.so:
undefined symbol: dgesvd_

I've put in a patch report to both python and numeric (Sorry
Guido/others if I seem to be harping. I know you're on the case), but
thought I'd add my two cents worth here to encourage/see if others have
been having similar problems with Numeric/Py2.1.1.
-- 
      Joal Heagney is: _____           _____
   /\ _     __   __ _    |     | _  ___  |
  /__\|\  ||   ||__ |\  || |___|/_\|___] |
 /    \ \_||__ ||___| \_|! |   |   \   \ !



More information about the Python-list mailing list