choderalab/yank

Yank installation Python3.10 import error

JonaTheHutt opened this issue · 1 comments

Hi all,

just encountered an error when trying to install Yank 0.25.2 w/ python3.10:

class CombinatorialTree(collections.MutableMapping): AttributeError: module 'collections' has no attribute 'MutableMapping'

Changing the import statements to

import collections.abc

abd renaming the class attribute solved the issue for now, maybe this can be fixed.

class CombinatorialTree(collections.abc.MutableMapping)

I'm working on fixing this here: #1286
Yank right now isn't getting a ton of attention but it is on on radar, thanks for the bug report!

For now, hopefully you can just use an older python version.