Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'common' from 'kafka' #2443

Open
Jayesh-Popat opened this issue Jul 15, 2024 · 0 comments
Open

ImportError: cannot import name 'common' from 'kafka' #2443

Jayesh-Popat opened this issue Jul 15, 2024 · 0 comments

Comments

@Jayesh-Popat
Copy link

from kafka import KafkaConsumer
from kafka import common
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'common' from 'kafka' (/usr/local/lib/python3.11/dist-packages/kafka/init.py)

python version used 3.11

root@jack:~# python3.11 -m pip list | grep kafka
kafka-python-ng 2.2.2
root@jack:~#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant