[SciPy-user] scipy.linalg.inv does not work

Justin Bayer bayer.justin@googlemail....
Tue Jan 6 11:48:48 CST 2009


Hi,

I am using numpy rev 6297 and scipy rev 5331, together with Python
2.6.1 (compiled from source) on Mac OS 10.5 Leopard, Intel 64 bit and
am getting this output:

>>> from scipy import array
>>> from scipy.linalg import inv
>>> array(((2, 3), (1, 5)))
array([[2, 3],
       [1, 5]])
>>> inv(_)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/site-packages/scipy/linalg/basic.py",
line 369, in inv
    lwork = calc_lwork.getri(getri.prefix,a1.shape[0])
RuntimeError: more argument specifiers than keyword list entries
(remaining format:'|:calc_lwork.getri')

Any ideas how I can fix this?

Regards,
-Justin



-- 
P.S.: No Dogs!


More information about the SciPy-user mailing list