Open JonZeolla opened 1 year ago
Describe the bug I believe this was supposed to be fixed in https://github.com/nccgroup/PMapper/pull/107 per https://github.com/nccgroup/PMapper/issues/106 but the issue still exists. When you attempt to run various commands, such as pmapper graph create it will raise an ImportError: cannot import name 'Mapping' from 'collections'.
pmapper graph create
ImportError: cannot import name 'Mapping' from 'collections'
I'm running Python 3.10.6 on MacOS Ventura 13.1. Changing principalmapper/util/case_insensitive_dict.py from
principalmapper/util/case_insensitive_dict.py
from collections import Mapping, MutableMapping, OrderedDict
to
from collections.abc import Mapping, MutableMapping from collections import OrderedDict
Fixes it for me
To Reproduce pip install principalmapper and then run pmapper graph create using python 3.10
pip install principalmapper
Expected behavior I expect it does not raise an ImportError.
ImportError
This is fixed in https://github.com/nccgroup/PMapper/pull/122
Describe the bug I believe this was supposed to be fixed in https://github.com/nccgroup/PMapper/pull/107 per https://github.com/nccgroup/PMapper/issues/106 but the issue still exists. When you attempt to run various commands, such as
pmapper graph create
it will raise anImportError: cannot import name 'Mapping' from 'collections'
.I'm running Python 3.10.6 on MacOS Ventura 13.1. Changing
principalmapper/util/case_insensitive_dict.py
fromto
Fixes it for me
To Reproduce
pip install principalmapper
and then runpmapper graph create
using python 3.10Expected behavior I expect it does not raise an
ImportError
.