Python Kafka Streaming API - Binning

I am using python kafka stream binning example given in this, Python Kafka Streaming API

I am able to generate the data using generator.py file given under winton-kafka-streams/examples/binning/, whereas when i run the binning.py file from the same folder, i got the below issue. Could someone help me, to resolve this?

Binning File

Generator