You need to install kafka-python, not kafka package. If kafka is installed, then you need to pip uninstall kafka and replace with the other
https://github.com/dpkp/kafka-python/issues/1566
You need to install kafka-python, not kafka package. If kafka is installed, then you need to pip uninstall kafka and replace with the other
https://github.com/dpkp/kafka-python/issues/1566