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.
I got this error
Which is fixed with this PR - also it seems like the "new" way to import things from collections.