Closed helmutcarter closed 2 years ago
The Iterable
was removed from collections
in Python 3.10.
Change that line into
from collections.abc import Iterable
fixed.
The
Iterable
was removed fromcollections
in Python 3.10. Change that line intofrom collections.abc import Iterable
Thanks a lot worked out well
Pls guys help me out, how can I go about this, pls break down your explanation because I don’t see to understand what you mean in collection??
It's worked. But I don't know why XD
How??
On Tue, Jul 18, 2023, 04:58 Zohan Syah Fatomi @.***> wrote:
It's worked. But I don't know why XD
— Reply to this email directly, view it on GitHub https://github.com/tctianchi/pyvenn/issues/19#issuecomment-1639030810, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3KWZHCTQGBXNL2D432UDVTXQXDBTANCNFSM5U37KWZA . You are receiving this because you commented.Message ID: @.***>
Fixed:
I cloned the repo,
cd
'd in, typedpython3
and hit enter. I tried importing venn, and the following happened:>>> import venn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/my/path/pyvenn/venn.py", line 3, 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)