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 mapping from collections Python 3.10 (Fix) #172

Open
jbflow opened this issue Dec 8, 2021 · 1 comment
Open

cannot import name mapping from collections Python 3.10 (Fix) #172

jbflow opened this issue Dec 8, 2021 · 1 comment

Comments

@jbflow
Copy link

jbflow commented Dec 8, 2021

When installing on Python 3.10 There is an issue when importing Mapping from collections.

I've fixed it locally for my project, you just need to change line 30 in rumps.py from:

from collections import Mapping, Iterable

To

from collections.abc import Mapping, Iterable
@lexygon
Copy link

lexygon commented Dec 21, 2021

Actually the problem is already fixed on latest version but it is not on the pypi.
See #173

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

2 participants