bryanyang0528/ksql-python

ImportError: cannot import name 'Iterable' from 'collections'

Closed this issue · 1 comments

I wrote a simple python client that connects to local ksql:

import logging
from ksql import KSQLAPI
logging.basicConfig(level=logging.DEBUG)
client = KSQLAPI('http://primary-ksqldb-server:8088') 

and i faced the following error

ImportError: cannot import name 'Iterable' from 'collections' (/opt/homebrew/Caskroom/miniconda/base/envs/mask/lib/python3.12/collections/__init__.py)

python 3.12
ksql-0.10.2

issue got resolved by downgrading to ksql==0.10.1.1