asntech / intervene

Intervene: a tool for intersection and visualization of multiple genomic region and gene sets
http://intervene.rtfd.io/
Other
132 stars 28 forks source link

Python 3.10 compatibility issues #60

Open wazimismail opened 8 months ago

wazimismail commented 8 months ago

The Iterable abstract class was removed from collections in Python 3.10. Please fix imports accordingly to avoid import error.

https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python

dksenthil commented 5 months ago

Yes please.. having the same issue!

asntech commented 5 months ago

Thanks for reporting this. We'll fix this in the upcoming release

Liozhang commented 3 months ago

Edit the file lib/python3.10/site-packages/intervene/modules/venn/list_venn.py and change from collections import Iterable to from collections.abc import Iterable. This will make version 0.6.5 of intervene work successfully with Python 3.10.