-
Notifications
You must be signed in to change notification settings - Fork 19
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
Regression on Python 3.10: collections.iterable has been deprecated #25
Comments
This was deprecated and removed in Python 3.10. Since the project supports Python 3 only collections.abc can be used. PR to fix this #26 |
Any chance to get this pull request through? I tested and verified that it works. Thanks @tirkarthi. |
Any update here? Thanks! |
Temporary fix. Add this before importing the system_hotkey library: import collections
import collections.abc
for name in collections.abc.__all__:
setattr(collections, name, getattr(collections.abc, name)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running on python 3.10 results in the error:
AttributeError: module 'collections' has no attribute 'Iterable'
The text was updated successfully, but these errors were encountered: