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

AttributeError: module 'collections' has no attribute 'Sequence' Error #67

Closed
graven04 opened this issue Dec 24, 2022 · 0 comments · Fixed by #69
Closed

AttributeError: module 'collections' has no attribute 'Sequence' Error #67

graven04 opened this issue Dec 24, 2022 · 0 comments · Fixed by #69
Milestone

Comments

@graven04
Copy link

The wbdata python modual gives error of: "AttributeError: module 'collections' has no attribute 'Sequence'", when using python [3.10.]
The good place to see why this is the case is in this link:(https://stackoverflow.com/questions/69596494/unable-to-import-freegames-python-package-attributeerror-module-collections) Therefore i will not repeat it here.

It can be easily solved by replacing import collections with import collections.abc as collections in the api.py file. I am not sure if this works with other python version but for 3.10 any api request involving dates does not work without it.

@OliverSherouse OliverSherouse added this to the 1.0 milestone Jan 8, 2024
@OliverSherouse OliverSherouse linked a pull request Jan 22, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants