Hi @accur4te at that time I used *python2.7* which used to come by default in older raspbian os. Now

Hi @accur4te at that time I used python2.7 which used to come by default in older raspbian os. Now in 2024, if you're trying run Python code it will throw an error. As per new changes Raspberry Pi OS uses python3 by default. Apart from this don't forget to install paho-mqtt library. Share more details about what kind of error show-up on RPi terminal
Was this page helpful?