Gents,
I'm having severe problems to get Python Plugins to work with Domoticz in Windows 11.
Running Windows 11 24H2, Domoticz installed with stable precompiled binary (2025.1) from Domoticz web page.
Python installed for x86 (as instructed as Domoticz binary is 32-bit) and recognized in Domoticz about page (Python Version: 3.13.5 (tags/v3.13.5:6cb20a2, Jun 11 2025, 15:56:57) [MSC v.1943 32 bit (Intel)])
After putting the python module in a new folder under the plugins folder and rebooting PC the following error message is received (plugin name masked with xxx):
2025-07-12 18:15:20.291 Error: XXX: (STV) failed to load 'plugin.py', Python Path used was 'C:\Program Files (x86)\Domoticz\plugins\XXX\;C:\Program Files (x86)\Python313-32\python313.zip;C:\Program Files (x86)\Python313-32\DLLs;C:\Program Files (x86)\Python313-32\Lib;C:\Program Files (x86)\Domoticz;C:\Program Files (x86)\Python313-32;C:\Program Files (x86)\Python313-32\Lib\site-packages'.
2025-07-12 18:15:20.352 Error: XXX: Exception: 'RuntimeError'. No traceback available.
Looking at the plugin.py it tries to import Domoticz package and if I try to install using pip3 there is no such package available. Trying to run 'import Domoticz' from IDLE returns "ModuleNotFoundError: No module named 'Domoticz'"
I'm suspecting that Domoticz package is not installed or found in any of the relevant paths. How do I get hold of the Domoticz python package if not found through pip or included in install binary? Or is there anyone how has other ideas why it is not working. Been searching like crazy for a solution but not been able to find similar issue.
Python domoticz package not found?
Moderator: leecollings
- waltervl
- Posts: 5902
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python domoticz package not found?
The Domoticz module published by Domoticz and not a real python module. So nothing to do about this. You cannot run a plugin seperate from Domoticz because of this.
But it looks like python 3.13 is not supported yet by Domoticz. So perhaps uninstall python and install version 3.12
But it looks like python 3.13 is not supported yet by Domoticz. So perhaps uninstall python and install version 3.12
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
Re: Python domoticz package not found?
Thanks Walter, my mistake entirely, reverting back to Python 3.11 and it all worked as intended! 

Who is online
Users browsing this forum: No registered users and 1 guest