The Getting started with Paho Python guide is superb but am getting
“ModuleNotFoundError: No module named ‘paho’”
error
- Pi 3
- Fresh rasparian downloaded image
- update / full-upgrade etc
++++++++++++++++++++++
Update…
Tried a second time on Pi zero 2w using NON python3 options and looks good
Uninstalled both pip lines and put back
pip install paho-mqtt (only)
Seems good now
++++++++++++++++++++++++
Some example Pup Only and Sub Only examples would be helpful. I am more of a tech person than a programmer but like the features and simplicity of Pi + py + a solderless breadboard.
I found these kinds of Cayenne examples really helpful back when py+mqtt was still available there.
Cayenne-MQTT-Python/examples at master · myDevicesIoT/Cayenne-MQTT-Python · GitHub
Example-01-SendData.py Enable Paho client logging.
Example-02-ReceiveData.py Enable Paho client logging.
Example-03-CayenneClient.py Enable Paho client logging.
Example-04-SendDataOnTrigger.py Update Example-04-SendDataOnTrigger.py
Thanks again for the well set out getting started section
~ A