While working anaconda spyder, I have this weird behavior with the package scipy
.
The first time I tried to use sparse.linalg
, I get an error:
AttributeError: module 'scipy.sparse' has no attribute 'linalg'
However, I was able to load linalg with from scipy.sparse import linalg
. And after this, the above error doesn't appear again.