Open t-tte opened 2 years ago
When using Python version 3.9 and later,
from causalgraphicalmodels import CausalGraphicalModel
results in
ImportError: cannot import name 'Iterable' from 'collections'
The following fix is described here:
try: # Python <= 3.9 from collections import Iterable except ImportError: # Python > 3.9 from collections.abc import Iterable
I'm getting the same import error for Python 3.10 I tried to run from collections.abc import Iterable before from causalgraphicalmodels import CausalGraphicalModel but I still get the same error
from collections.abc import Iterable
When using Python version 3.9 and later,
from causalgraphicalmodels import CausalGraphicalModel
results in
ImportError: cannot import name 'Iterable' from 'collections'
The following fix is described here: