We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System information
Describe the current behavior import of numpy_ml fails due to an ImportError with the collections module.
Describe the expected behavior Importing just the module should not generate an ImportError
Code to reproduce the issue
# Python 3.10 or newer import numpy_ml
Other info / logs In Python 3.10 the deprecated aliases were removed.
Remove deprecated aliases to Collections Abstract Base Classes from the collections module. (Contributed by Victor Stinner in bpo-37324.)
from What’s New In Python 3.10
fix To fix the bug, in /numpy_ml/utils/data_structures.py change
from collections import Hashable
to
from collections.abc import Hashable
The text was updated successfully, but these errors were encountered:
@ddbourgin any chance this will be fixed to support python 3.10? Thanks
Sorry, something went wrong.
I created a pull request #85 to address this.
Could someone take a look at the pull request, maybe?
No branches or pull requests
System information
Describe the current behavior
import of numpy_ml fails due to an ImportError with the collections module.
Describe the expected behavior
Importing just the module should not generate an ImportError
Code to reproduce the issue
Other info / logs
In Python 3.10 the deprecated aliases were removed.
from What’s New In Python 3.10
fix
To fix the bug, in /numpy_ml/utils/data_structures.py change
to
The text was updated successfully, but these errors were encountered: