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

Python 3.10 Cannot import name 'Iterable' from 'collections' #94

Open
remibaar opened this issue Jan 16, 2022 · 0 comments
Open

Python 3.10 Cannot import name 'Iterable' from 'collections' #94

remibaar opened this issue Jan 16, 2022 · 0 comments

Comments

@remibaar
Copy link

In Python 3.10 this class has been moved.

from collections import Iterable is now from collections.abc import Iterable

Error message:

Traceback (most recent call last):
  File ".../app/onemax_island_scoop.py", line 28, in <module>
    from scoop import futures
  File ".../venv/lib/python3.10/site-packages/scoop/futures.py", line 19, in <module>
    from collections import namedtuple, Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/opt/homebrew/Cellar/python@3.10/3.10.1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
tiuri101 added a commit to oopnet/oopnet that referenced this issue Feb 22, 2022
SCOOP isn't working with Python 3.10 as described in [this issue](soravux/scoop#94)
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

No branches or pull requests

1 participant