Cool. Thanks for your perserverance Roboert. I also need to make the same change on line 74 of ls.py: class ScipyIterative( LinearSolver ): name = 'ls.scipy_iterative' ## # c: 22.02.2008, r: 23.06.2008 def __init__( self, conf, **kwargs ): if (scipy.version.version == "0.6.0") or (scipy.version.version < '0.7.0.dev3861'):#<<<< same as in your email import scipy.linalg as la else: if scipy.version.version < '0.7.0.dev3998': import scipy.splinalg.isolve as la else: import scipy.sparse.linalg.isolve as la run runTests.py --debug tests/test_linear_solvers.py ....... 1 test file executed in 7.63 s, 0 failure(s) of 1 test(s) On Mon, Jun 23, 2008 at 10:10 AM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
Ryan Krauss wrote:
I can't find isolve anywhere. There is no linalg in scipy/sparse. There is no scipy/splinalg. And there is no isolve in scipy.linalg.
Here is the IPython tab completion of what is in scipy.linalg:
In [1]: scipy.linalg. scipy.linalg.__new__ scipy.linalg.iterative
I see, your iterative.py is still in scipy.linalg.
Could you, please, try editing sfe/solvers/ls.py:
--- a/sfe/solvers/ls.py Mon Jun 23 10:49:07 2008 +0200 +++ b/sfe/solvers/ls.py Mon Jun 23 17:07:51 2008 +0200 @@ -71,7 +71,8 @@ class ScipyIterative( LinearSolver ): ## # c: 22.02.2008, r: 23.06.2008 def __init__( self, conf, **kwargs ): - if scipy.version.version == "0.6.0": + if (scipy.version.version == "0.6.0") or + (scipy.version.version < '0.7.0.dev3861'): import scipy.linalg as la else: if scipy.version.version < '0.7.0.dev3998':
isolve appeared in r3861 as I can see now...
r.