yank icon indicating copy to clipboard operation
yank copied to clipboard

Module not found after yank update

Open gsabbih6 opened this issue 3 years ago • 6 comments

ModuleNotFoundError: No module named 'simtk.openmm.app.element'

gsabbih6 avatar Oct 14 '21 18:10 gsabbih6

This might be related to the recent top level Python package rename in OpenMM 7.6. Try installing an earlier version of OpenMM to your conda environment, e.g.:

conda install -y -c conda-forge openmm=7.5.1 

mjw99 avatar Dec 07 '21 17:12 mjw99

@ijpulidos @mikemhenry : Can you help here? It looks like we need to cut new bugfix releases of yank and openmmtools that work with both openmm <7.6 and >=7.6

jchodera avatar Dec 13 '21 17:12 jchodera

I think we just need to cut a new release of openmmtools since this PR should fix the namespace issues and work with both openmm <7.6 and >=7.6

https://github.com/choderalab/openmmtools/pull/528

I'll see what we need to do in yank

mikemhenry avatar Dec 13 '21 19:12 mikemhenry

[edit]I think this may be resolved with the OpenMMTools 0.21.0 release?

mjw99 avatar Feb 14 '22 15:02 mjw99

That will fix when the issue comes from OpenMMTools, I've got this PR https://github.com/choderalab/yank/pull/1263 to fix spots where yank imports openmm, but I need to fix the CI

mikemhenry avatar Feb 14 '22 17:02 mikemhenry

Ah apologies; I've jumped the gun a bit; thank you for the link.

mjw99 avatar Feb 14 '22 17:02 mjw99