tmap icon indicating copy to clipboard operation
tmap copied to clipboard

Cannot import name Mapping from collections

Open hellorp1990 opened this issue 2 years ago • 4 comments

Hi,

I am having little difficulty in running "from tmap.tda import mapper, Filter" on python 3.10.

In Python 3.6 the code works perfectly fine.

I believe the problem is happening due to collections package as the Mapping is moved to collections.abc from collections. I changed that in my code.

Still the error is happening:

Importerror: cannot import name Mapping from collections (...../lib/python3.10/collections/init.py

Any idea how to fix it? Does Tmap run on python 3.10?

hellorp1990 avatar Jul 26 '22 11:07 hellorp1990