In the instructions, it says to run "pip install paho-mqtt" This did not work for me. I believe that pip must be run as sudo for this to install correctly. The command that worked for me was: sudo pip install paho-mqtt