[SciPy-dev] importing scipy.stats generates exception on deprecate decorator
Matthieu Brucher
matthieu.brucher@gmail....
Sat May 3 08:17:34 CDT 2008
Hi,
Did you use latest numpy SVN as well ?
Matthieu
2008/5/3 Damian Eads <eads@soe.ucsc.edu>:
> Hi,
>
> I just encountered a rather puzzling exception I have never seen before,
> which is generated when scipy.stats is imported. It occurs regardless if
> I use scipy from the latest SVN checkout or Fedora 8-yum.
>
> [redfox@localhost chestnut]$ python
> Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
> [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import scipy.stats
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/tmp/qq/lib/python2.5/site-packages/scipy/stats/__init__.py",
> line 7, in <module>
> from stats import *
> File "/tmp/qq/lib/python2.5/site-packages/scipy/stats/stats.py", line
> 192, in <module>
> import scipy.linalg as linalg
> File "/tmp/qq/lib/python2.5/site-packages/scipy/linalg/__init__.py",
> line 13, in <module>
> from iterative import *
> File "/tmp/qq/lib/python2.5/site-packages/scipy/linalg/iterative.py",
> line 5, in <module>
> from scipy.sparse.linalg import isolve
> File "/tmp/qq/lib/python2.5/site-packages/scipy/sparse/__init__.py",
> line 5, in <module>
> from base import *
> File "/tmp/qq/lib/python2.5/site-packages/scipy/sparse/base.py", line
> 45, in <module>
> class spmatrix(object):
> File "/tmp/qq/lib/python2.5/site-packages/scipy/sparse/base.py", line
> 139, in spmatrix
> @deprecate
> TypeError: deprecate() takes exactly 3 arguments (1 given)
> >>>
>
> Any ideas?
>
> Damian
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
--
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20080503/d3922880/attachment.html
More information about the Scipy-dev
mailing list