[SciPy-dev] import scipy.linalg problems

Justus Schwabedal justus.schwabedal at gmx.de
Wed Mar 12 18:57:48 EDT 2008


I think so, too. I had similar problems. The reason was, that I had  
written
some python scripts having there names in common with some scipy
module.
Trivial example:
 > ls -a
.    ..    my_test_script.py    scipy.py
 > less test_script.py
...
import scipy
...

This will lead to unpredictable events.
Have you miss-set your python path-variable?

...watch the subject...
On Mar 12, 2008, at 6:56 PM, Alan G Isaac wrote:
> On Wed, 12 Mar 2008, Charles Doutriaux apparently wrote:
>> File
>> "/lgm/cdat/5.0.0.alpha7/lib/python2.5/site-packages/scipy/sparse/ 
>> base.py",
>> line 139, in spmatrix
>>    @deprecate
>> TypeError: deprecate() takes exactly 3 arguments (1 given)
>
> Looks like a name clash?
> You should be able to just comment out the decorator
> with no ill effects, I would think.
>
> Cheers,
> Alan Isaac
>
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev




More information about the SciPy-Dev mailing list