This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Import error for Iterable in collections
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Joshuah143
Priority: normal Keywords:

Created on 2021-09-08 23:00 by Joshuah143, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg401425 - (view) Author: Joshua (Joshuah143) * Date: 2021-09-08 23:00
Traceback:
Traceback (most recent call last):
  File "/Users/user/PycharmProjects/phys2/main.py", line 5, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)

Done using a venv based on python 3.10.0rc1 running on Darwin/MacOS. 

I am new to adding bugs so I don't quite know what information I can provide that could be of use other than that this issue persists in REPL.
msg401427 - (view) Author: Joshua (Joshuah143) * Date: 2021-09-08 23:08
Update: I'm just dumb, should have used "from collections.abc import Iterable"
History
Date User Action Args
2022-04-11 14:59:49adminsetgithub: 89305
2021-09-08 23:08:42Joshuah143setstatus: open -> closed
resolution: not a bug
messages: + msg401427

stage: resolved
2021-09-08 23:00:24Joshuah143create