Page 2 of 2

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

Posted: Saturday 28 October 2017 15:16
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

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

Posted: Sunday 14 March 2021 13:20
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

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

Posted: Sunday 14 March 2021 13:43
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

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

Posted: Sunday 14 March 2021 13:49
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

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

Posted: Sunday 14 March 2021 14:18
by tontze
Solved, i upgraded domoticz to beta ..

Re: Python plugins not working on bullseye

Posted: Sunday 14 March 2021 14:24
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