[SciPy-dev] problem with import scipy.sparse

Tom Waite twaite@berkeley....
Mon Jun 2 23:59:02 CDT 2008

I get the following error when I try to import the latest version of scipy
sparse. This is the first I have seen of this and I use sparse w/o any
problems prior to this.

In [3]: import scipy.sparse
<type 'exceptions.TypeError'>             Traceback (most recent call last)

c:\python25\lib\site-packages\scipy\sparse\__init__.py in <module>()
      3 from info import __doc__
----> 5 from base import *
      6 from csr import *
      7 from csc import *

c:\python25\Lib\site-packages\scipy\sparse\base.py in <module>()
     43 MAXPRINT = 50
---> 45 class spmatrix(object):
     46     """ This class provides a base class for all sparse matrices.
     47     cannot be instantiated.  Most of the work is provided by

c:\python25\Lib\site-packages\scipy\sparse\base.py in spmatrix()
    137         return format
--> 139     @deprecate
    140     def rowcol(self, num):
    141         return (None, None)

<type 'exceptions.TypeError'>: deprecate() takes exactly 3 arguments (1

In [4]: scipy.__version__
Out[4]: '0.7.0.dev4402'

any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20080602/25095cd1/attachment.html 

More information about the Scipy-dev mailing list