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
I'm running into errors when running the yank analysis notebook with the CLI using python 3.10.
The first error I get:
Traceback (most recent call last):
File "/home/zhangi/miniconda3/envs/perses-paper7/bin/yank", line 6, in <module>
from yank.cli import main
File "/home/zhangi/miniconda3/envs/perses-paper7/lib/python3.10/site-packages/yank/__init__.py", line 12, in <module>
from . import utils
File "/home/zhangi/miniconda3/envs/perses-paper7/lib/python3.10/site-packages/yank/utils.py", line 279, in <module>
class CombinatorialTree(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
When I run the yank analysis notebook with python 3.9, I see the following warning:
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
So it seems like I just need to change collections.MutableMapping to collections.abc.MutableMapping.
When I fix this error in my local version of yank, I get the following error:
Will yank support python 3.10?
I'm running into errors when running the yank analysis notebook with the CLI using python 3.10.
The first error I get:
When I run the yank analysis notebook with python 3.9, I see the following warning:
So it seems like I just need to change
collections.MutableMapping
tocollections.abc.MutableMapping
.When I fix this error in my local version of yank, I get the following error:
I think this is happening because the yaml file is not being loaded properly here:
yank/Yank/analyze.py
Line 299 in c060590
These errors are simple enough to fix, but I'm just wondering whether we plan on updating yank to be compatible with python 3.10?
The text was updated successfully, but these errors were encountered: