[SciPy-dev] scipy 0.6 with python 2.6 leads to strange keyword argument errors

Pierre Gueth pierre.gueth@free...
Wed Nov 12 11:03:35 CST 2008


Hi,

I compiled scipy 0.6 with python 2.6 and this patch to solve the superlu 
compilation problem:
https://bugs.gentoo.org/attachment.cgi?id=171446

I can import scipy and scipy.linalg but when i try to call some function 
like pinv or inv, i get a "RuntimeError: more argument specifiers than 
keyword list entries" error:

[...]

>>> import scipy as s
>>> import scipy.linalg as l
>>> l.pinv(s.array([[1,0],[0,1]]))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/scipy/linalg/basic.py", line 468, in pinv
    return lstsq(a, b, cond=cond)[0]
  File "/usr/lib/python2.6/site-packages/scipy/linalg/basic.py", line 441, in lstsq
    lwork = calc_lwork.gelss(gelss.prefix,m,n,nrhs)[1]
RuntimeError: more argument specifiers than keyword list entries (remaining format:'|:calc_lwork.gelss')

[...] 


Does anyone knows how to solve this problem??

Regards pierre


More information about the Scipy-dev mailing list