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

Add support for Python 3.10 #412

Closed
emilbonnek opened this issue Nov 22, 2021 · 2 comments · Fixed by #415 · May be fixed by #407
Closed

Add support for Python 3.10 #412

emilbonnek opened this issue Nov 22, 2021 · 2 comments · Fixed by #415 · May be fixed by #407

Comments

@emilbonnek
Copy link

At the moment users will get:
ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Python310\lib\collections\__init__.py)

This seems to be because of this dependency (line 4) which needs to be:
from collections.abc import MutableMapping

@dogweather
Copy link

dogweather commented Feb 23, 2022

Yep - I just got hit by this. Is there a workaround?

I'm thinking I can install an older python with pyenv, and create a virtualenv with it to run the app.

@sleao
Copy link

sleao commented Feb 25, 2022

Yep - I just got hit by this. Is there a workaround?

I'm thinking I can install an older python with pyenv, and create a virtualenv with it to run the app.

You can just open the file and change the from collections import MutableMapping to from collections.abc import MutableMapping. It worked for me.

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