>>> import pymnet as pn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Multilayer-networks-library/pymnet/__init__.py", line 1, in <module>
from .net import MultilayerNetwork,MultiplexNetwork
File "Multilayer-networks-library/pymnet/net.py", line 810, in <module>
class MultiplexIntraNetDict(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
On Python 3.10.8:
Related: https://stackoverflow.com/questions/59636631/importerror-cannot-import-name-mutablemapping-from-collections Looks like
MutableMapping
has been moved fromcollections
tocollections.abc
.Temporary fix found in the StackOverflow answer: https://stackoverflow.com/a/75382123