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

Cant't import KafkaClient #858

Closed
weiboyiyou opened this issue Oct 25, 2016 · 0 comments
Closed

Cant't import KafkaClient #858

weiboyiyou opened this issue Oct 25, 2016 · 0 comments

Comments

@weiboyiyou
Copy link

when I use 'from kafka import KafkaClient' ,I got the error 'ImportError: cannot import name KafkaClient'.
but when i use in the python comandline such as: have no import error.
[root@middleware-test bin]# ./python2.7
Python 2.7.12 (default, Sep 30 2016, 15:27:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from kafka import KafkaClient

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