bryanyang0528 / ksql-python

A python wrapper for the KSQL REST API.
MIT License
159 stars 67 forks source link

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

Closed athlatif closed 8 months ago

athlatif commented 8 months ago

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

athlatif commented 8 months ago

issue got resolved by downgrading to ksql==0.10.1.1