-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paho-mqtt not found? #8
Comments
Perhaps a conflict sudo versus not sudo? |
Nope: pi@domoticz:~ $ service roomba start In the mean time, these "Please install paho-mqtt 'pip install paho-mqtt' to use this library" lines filled my daemon.log to the point where the complete disk was full. Maybe some symlink is in order to point the service to the proper location? |
My paho-mqtt is in /usr/local/lib/python3.7/dist-packages/paho (Raspbian Buster), does that offer a clue? |
Hi, Did you already tried using the command prompt? Open a python3 prompt and use "paho.mqtt.client". F |
pi@domoticz:~ $ python3
Native, no Dockers. |
This means that it is not installed correctly. Nothing to do with Domotica or the plugin |
I never meant to blame either the plugin or Domoticz, but I do wonder why it's not working as intended when installing with |
I know. No worry. Perhaps uninstall and reinstall...
Op di 9 jul. 2024 22:32 schreef MennoLabs ***@***.***>:
… I never meant to blame either the plugin or Domoticz, but I do wonder why
it's not working as intended when installing with sudo pip3 install
paho-mqtt, as per instructions?
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3SGC7K73MAMOM6W2HX5G3ZLRCHHAVCNFSM6AAAAABJYVRJJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGY3TQNRRGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just tried that (while you were typing your reply ;-)), no success. |
I would advise to "google" on sth like "paho.mqtt.client not found"... I
see there are several people with a similar problem as you...
Op di 9 jul 2024 om 22:36 schreef MennoLabs ***@***.***>:
… Just tried that (while you were typing your reply ;-)), no success.
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3SGC5SGHUAHF67RCIHR2DZLRCUFAVCNFSM6AAAAABJYVRJJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGY4DINJQGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes, tried that, but the lucky tip has not yet materialised from that search. |
pi@domoticz:~ $ sudo service roomba status
● roomba.service - Roomba mqtt client
Loaded: loaded (/etc/systemd/system/roomba.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2024-06-23 22:39:37 CEST; 1min 45s ago
Main PID: 481 (python3)
Tasks: 2 (limit: 2176)
CGroup: /system.slice/roomba.service
└─481 /usr/bin/python3 /home/pi/domoticz/plugins/Roomba/roomba --configfile /home/pi/domoticz/plugins/Roomba/conf
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
Jun 23 22:41:22 domoticz python3[481]: Please install paho-mqtt 'pip install paho-mqtt' to use this library
pi@domoticz:~ $ sudo pip3 install paho-mqtt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt in /usr/local/lib/python3.7/dist-packages (2.1.0)
The text was updated successfully, but these errors were encountered: