Which line are you getting the error on? If it's line 6, I would say that kafka isn't installed correctly on your machine.
If it's line 12, try:
producer = KafkaProducer(bootstrap_servers="Broker_list")
The namespace is unnecessary as you've already directly imported it. If you want to keep the namespace, change line 6 to:
import kafka