Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'MutableMapping' from 'collections' #70

Open
Amr-Es opened this issue Jul 18, 2022 · 3 comments
Open

cannot import name 'MutableMapping' from 'collections' #70

Amr-Es opened this issue Jul 18, 2022 · 3 comments

Comments

@Amr-Es
Copy link

Amr-Es commented Jul 18, 2022

it doesn't support python version >= 3.8

@c00kiemon5ter
Copy link
Member

MutableMapping should be imported from collections.abc. It has been moved there since python 3.3, and importing from collections is deprecated. With python 3.10 it is removed from the collections module entirely.

@Amr-Es I am guessing you sure you are using python 3.10

This needs to be amended on the code.

@Amr-Es
Copy link
Author

Amr-Es commented Jul 18, 2022

@c00kiemon5ter that is what I'm doing now importing from collections.abc, but it needed to be amended on the code

@leifj
Copy link
Contributor

leifj commented Jul 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants