You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like weave was deprecated in scipy and moved to its own project.
File "/Users/khuynh/stackoverflow/pyi/venv/lib/python2.7/site-packages/MDAnalysis/analysis/distances.py", line 31, in <module>
from scipy import weave
ImportError: cannot import name weave
I was able to resolve this quickly by
installing weave via pip install weave
editing the file in scipy at venv/lib/python2.7/site-packages/MDAnalysis/analysis/distances.py
Hi,
thanks for your efforts! Alternatively, you can simply comment out the offending line in libinteract (line 2), I just realised it's a stray import and imported function is not actually used in the code. I'll add this to the list of fixes - we are planning on releasing a Py3 compatible version which uses the latest MDAnalysis as well and will make things much simpler - stay tuned!
Thank you and thanks for your work too, I look forward to seeing the py3 release! Is it worth submitting a PR to fix this in the 2.7 version or is development here halted?
It looks like weave was deprecated in scipy and moved to its own project.
I was able to resolve this quickly by
pip install weave
venv/lib/python2.7/site-packages/MDAnalysis/analysis/distances.py
and changing:
to:
is there a more elegant way to do this? i don't think modifying the source of scipy is the most graceful way.. open to suggestions? :)
I've also written a stackoverflow answer for this here.
The text was updated successfully, but these errors were encountered: