PySeqsee icon indicating copy to clipboard operation
PySeqsee copied to clipboard

Not compatible with Python 3.10

Open Angular-Angel opened this issue 1 year ago • 1 comments

I have this problem:

https://stackoverflow.com/questions/70943244/attributeerror-module-collections-has-no-attribute-mutablemapping

Seems like it requires rewriting code to work with the new version? Saw some workarounds, will test them.

Angular-Angel avatar Sep 26 '24 17:09 Angular-Angel

Putting:

import sys

if sys.version_info.major == 3 and sys.version_info.minor >= 10:
    import collections
    setattr(collections, "MutableMapping", collections.abc.MutableMapping)

in: PySeqsee/farg/third_party/skeleton/core.py seems to have worked.

Angular-Angel avatar Sep 26 '24 17:09 Angular-Angel