![](https://secure.gravatar.com/avatar/da3a0a1942fbdc5ee9a9b8115ac5dae7.jpg?s=120&d=mm&r=g)
Hi, 19.03.2012 19:24, Nicolas Pinto kirjoitti:
The following simple code hangs only when sparse has been imported: [clip]
It does not hang for me. So, first things first: - which platform? - which binaries? - which LAPACK?
Do you think this may be related to other arpack/umfpack/etc. known failures ?
Please let us know how can we help fix this issue.
ARPACK et al are probably not related, because they are not imported by ``from scipy import sparse``. A more likely candidate is the SWIG-wrapped `sparsetools` package: it is known to also cause some other weirdness: http://projects.scipy.org/scipy/ticket/1314 This unfortunately seems pretty difficult to debug. One thing I could imagine doing is minimizing the problem, by first stripping everything away from `scipy.sparse` except the sparsetools module, and then stripping down the sparsetools code until the failing part is found. -- Pauli Virtanen