I posted this on another subject (relating to web sockets) so apologies for duplicate I think it better belongs here.
I really need steering. I have to say I am still new to Raspian, Linux type OS's in general, and the Raspberry pi. Not chronologically mind you but by lack of experience and time to work with it. In an effort to learn more, I'm currently trying to work through a project that was posted on You Tube (here https://www.youtube.com/watch?v=AUbFWSz8PjA
)that uses a Raspberry Pi running mosquitto to communicate between clients on ESP8266's etc. The first module sets up the broker and I can publish and subscribe fine terminal windows. The second module adds a Python reporting/logging script requiring paho. There was not much instruction given as to how to incorporate the paho py libraries into the Pi environment. That being said I was able to install (I think) paho-mqtt. with a sudo pip3 install paho-mqtt command. I then tried to run the script from the project (downloaded from author's github) with sudo MQTT_logger.py. This generates an error "File "MQQT_logger.py, line 4, in <module> import paho.mqtt.client as mqtt Import Error: No module named paho..mqtt.client" I honestly don't know enough to ask the proper questions, I'm sure. But if anyone can steer me to an explanation of what I'm not doing right, I'd sure appreciated it.