Raspberry Pi, unable to install paho-mqtt

I have a raspberry pi with raspbian and am following this tutorial:
https://core-electronics.com.au/tutorials/getting-started-with-home-automation-using-mqtt.html

I reach an error at the first step:

Please advise, thank you in advance

It might be worth backing up your uSD image, and then setting up a fresh copy of Raspbian (not the lite edition)

It looks like you’re missing some of the dependencies for the python code. Check the “import” statements in the program to see what is needed, and then install the missing libraries.

1 Like