yank icon indicating copy to clipboard operation
yank copied to clipboard

Yank installation Python3.10 import error

Open JonaTheHutt opened this issue 2 years ago • 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)

JonaTheHutt avatar Sep 03 '22 05:09 JonaTheHutt

I'm working on fixing this here: https://github.com/choderalab/yank/pull/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.

mikemhenry avatar Sep 07 '22 16:09 mikemhenry