HI,
i upgraded to debian 12 and domoticz beta 2025.1 (build 16703) and i have this errors:
2025-05-22 16:38:11.612 Error: Purificator Xiaomi: (AirPurifier) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-AirPurifier/:/usr/lib/python311.zip:/usr/lib/python3.11:/usr/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.11/dist-packages'.
2025-05-22 16:38:11.829 Error: Purificator Xiaomi: Traceback (most recent call last):
2025-05-22 16:38:11.829 Error: Purificator Xiaomi: File "/home/pi/domoticz/plugins/domoticz-AirPurifier/plugin.py", line 73, in <module>
2025-05-22 16:38:11.829 Error: Purificator Xiaomi: import miio.airpurifier
2025-05-22 16:38:11.829 Error: Purificator Xiaomi: ModuleNotFoundError: No module named 'miio'
2025-05-22 16:38:12.683 Error: Broadlink RM4C: (Broadlink) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Broadlink/:/usr/lib/python311.zip:/usr/lib/python3.11:/usr/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.11/dist-packages'.
Thank you!
Failed to load 'plugin.py'
Moderator: leecollings
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Failed to load 'plugin.py'
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
- waltervl
- Posts: 5761
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Failed to load 'plugin.py'
Seems you have to re install the python module/ requirements. See the instructions in on the plugin repository.
See also wiki https://wiki.domoticz.com/Using_Python_ ... ules_fails
And also viewtopic.php?t=42960
See also wiki https://wiki.domoticz.com/Using_Python_ ... ules_fails
And also viewtopic.php?t=42960
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Failed to load 'plugin.py'
No result.
I trying to install the broadlink plugin on fresh domoticz and i have this:
I trying to install the broadlink plugin on fresh domoticz and i have this:
- Attachments
-
- error.txt
- (18.95 KiB) Downloaded 8 times
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
-
- Posts: 178
- Joined: Wednesday 09 January 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.1
- Contact:
Re: Failed to load 'plugin.py'
I fixed.
So if you have this error:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
I entered
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
So if you have this error:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
I entered
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
Domoticz on Raspberry Pi 4 with Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy
Who is online
Users browsing this forum: Bing [Bot] and 1 guest