ImportError: No module named 'paho'

Fragen zur Nutzung, Features, usw..
Antworten
px5
Beiträge: 6
Registriert: Do Apr 27, 2023 6:42 pm

ImportError: No module named 'paho'

Beitrag von px5 »

Hallo,

wollte heute eine Erstinstallation auf Pi 3 B+ machen, bekomme aber immer Fehler beim Installskript:

Code: Alles auswählen

Adafruit_MCP4725 installed...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named Adafruit_MCP4725
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'paho'
^C
Manuelles installieren klappt auch nicht:

Code: Alles auswählen

pi@raspberrypi:~ $ pip3 install paho
Collecting paho
  Could not find a version that satisfies the requirement paho (from versions: )
No matching distribution found for paho
pi@raspberrypi:~ $ pip install paho
Collecting paho
  Could not find a version that satisfies the requirement paho (from versions: )
No matching distribution found for paho
Image ist von hier:
https://downloads.raspberrypi.org/raspb ... 019-04-09/

Was mach ich da falsch?

Grüße px5
hhoefling
Beiträge: 631
Registriert: So Jul 25, 2021 2:32 pm

Re: ImportError: No module named 'paho'

Beitrag von hhoefling »

probier mal
pip[3} install paho-mqtt
gruss
Heinz

6kWp PV+Akku von RCT Power,+Tibber,+Shelly's
Skoda Citigo e-iV, openWB series2 standart+
mit openWB_lite (auf Basis der openWB 1.9.244+ Okt.2021)
Github: https://github.com/hhoefling/openWB_lite
px5
Beiträge: 6
Registriert: Do Apr 27, 2023 6:42 pm

Re: ImportError: No module named 'paho'

Beitrag von px5 »

Mit einem Buster Image ging jetzt die Installation ohne Problem durch :)
soso2222
Beiträge: 41
Registriert: Sa Aug 14, 2021 9:17 pm

Re: ImportError: No module named 'paho'

Beitrag von soso2222 »

Hallo,

ich habe genau das gleiche Problem!

"ImportError: No module named Adafruit_MCP4725
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'paho'"

Es lässt sich aber bei mir auch unter Buster nicht installieren!

Was mache ich falsch?
Thomas Braunhofer
Beiträge: 10
Registriert: Do Jul 22, 2021 5:02 pm

Re: ImportError: No module named 'paho'

Beitrag von Thomas Braunhofer »

HAt schon jemand eine Lösung?



ImportError: No module named Adafruit_MCP4725
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'paho'


ist jetzt nach 2 Jahren die 2. Installation, damals ging alles ohne Probleme...
Antworten