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

modified for newer version of collections #42

Closed
wants to merge 1 commit into from
Closed

modified for newer version of collections #42

wants to merge 1 commit into from

Conversation

jakob1379
Copy link

I got this error

from p_tqdm import p_map
  File "/home/jga/.pyenv/versions/amas/lib/python3.10/site-packages/p_tqdm/__init__.py", line 1, in <module>
    from p_tqdm.p_tqdm import p_map, p_imap, p_umap, p_uimap, t_map, t_imap
  File "/home/jga/.pyenv/versions/amas/lib/python3.10/site-packages/p_tqdm/p_tqdm.py", line 11, in <module>
    from collections import Sized
ImportError: cannot import name 'Sized' from 'collections' (/home/jga/.pyenv/versions/3.10.0/lib/python3.10/collections/__init__.py)

Which is fixed with this PR - also it seems like the "new" way to import things from collections.

This pull request was closed.
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 this pull request may close these issues.

1 participant