Python plugins not working Topic is solved

Python and python framework

Moderator: leecollings

miljume
Posts: 62
Joined: Thursday 03 December 2015 21:36
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8742
Contact:

Re: Python plugins not working anymore with latest beta Version: 3.6707

Post by miljume »

I can't get the python plugin engine to start :cry:

I have tried installing python 3 from source as well as just through apt-get but can't get the engine to start, no error messages

Running latest beta 3.8650
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Python plugins not working anymore with latest beta Version: 3.6707

Post by tontze »

Brand new install on Debian 11 Bullseye, same issue. Tried to reinstall python3-dev, that didnt help :/

Code: Select all

 2021-03-14 14:17:42.442 Status: EventSystem: reset all device statuses...
2021-03-14 14:17:42.444 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2021-03-14 14:17:42.448 Status: EventSystem: Started 
Also domoticz "About" button shows python:none ?

Code: Select all

Version: 2020.2
Build Hash: b63341bc0
Compile Date: 2020-04-26 14:47:55
dzVents Version: 3.0.2
Python Version: None
Last edited by tontze on Sunday 14 March 2021 13:48, edited 2 times in total.
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python plugins not working anymore with latest beta Version: 3.6707

Post by waaren »

tontze wrote: Sunday 14 March 2021 13:20 Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
Can you try again after

Code: Select all

sudo apt install libpython3.9 libpython3.9-dev python3.9-dev
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Python plugins not working anymore with latest beta Version: 3.6707

Post by tontze »

waaren wrote: Sunday 14 March 2021 13:43
tontze wrote: Sunday 14 March 2021 13:20 Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
Can you try again after

Code: Select all

sudo apt install libpython3.9 libpython3.9-dev python3.9-dev
Checked these allready earlier :

Code: Select all

libpython3.9 is already the newest version (3.9.2-1).
libpython3.9-dev is already the newest version (3.9.2-1).
libpython3.9-dev set to manually installed.
python3.9-dev is already the newest version (3.9.2-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What does this "libpython3.9-dev set to manually installed." mean ?

Code: Select all

sudo find / -name libpython3.9-dev
/usr/share/lintian/overrides/libpython3.9-dev
/usr/share/doc/libpython3.9-dev

Code: Select all

 dpkg --get-selections | grep libpython
libpython3-stdlib:amd64                         install
libpython3.8-minimal:amd64                      deinstall
libpython3.9:amd64                              install
libpython3.9-dev:amd64                          install
libpython3.9-minimal:amd64                      install
libpython3.9-stdlib:amd64                       install
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Python plugins not working anymore with latest beta Version: 3.6707

Post by tontze »

Solved, i upgraded domoticz to beta ..
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python plugins not working on bullseye

Post by waaren »

tontze wrote: Sunday 14 March 2021 13:49 dpkg --get-selections | grep libpython
I am on different hardware (Intel NUC) but also on bullseye.

Code: Select all

dpkg --get-selections | grep libpython | grep -Ev "2.7|3.7|3.8"

libpython3-dev:amd64                            install
libpython3-stdlib:amd64                         install
libpython3.9:amd64                              install
libpython3.9-dev:amd64                          install
libpython3.9-minimal:amd64                      install
libpython3.9-stdlib:amd64                       install

Seems the difference is libpython3-dev:amd64
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest