Failed Load - libpython3.x

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
JeffV
Posts: 3
Joined: Thursday 30 January 2020 10:47
Target OS: OS X
Domoticz version:
Contact:

Failed Load - libpython3.x

Post by JeffV »

Macos Catalina - macOS 10.15.3 (19D76)

Domoticz
Version: 4.9701
Build Hash: b47a877f
Compile Date: 2018-06-23 15:27:56
dzVents Version: 2.4.6
Python Version: None

is this the reason for Python Version: None

Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.

Terminal Results of Startup

2020-02-02 07:55:56.541 Status: Domoticz V4.9701 (c)2012-2018 GizMoCuz
2020-02-02 07:55:56.541 Status: Build Hash: b47a877f, Date: 2018-06-23 15:27:56
2020-02-02 07:55:56.541 Status: Startup Path: /Users/Jeff/domoticz/
2020-02-02 07:55:56.653 Sunrise: 07:47:00 SunSet: 16:50:00
2020-02-02 07:55:56.653 Day length: 09:02:00 Sun at south: 12:05:00
2020-02-02 07:55:56.653 Civil twilight start: 07:10:00 Civil twilight end: 17:27:00
2020-02-02 07:55:56.653 Nautical twilight start: 06:28:00 Nautical twilight end: 18:09:00
2020-02-02 07:55:56.653 Astronomical twilight start: 05:48:00 Astronomical twilight end: 18:49:00
2020-02-02 07:55:56.653 Status: EventSystem: reset all events...
2020-02-02 07:55:56.654 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2020-02-02 07:55:56.671 Active notification Subsystems: prowl (1/13)
2020-02-02 07:55:56.672 Status: WebServer(HTTP) started on address: :: with port 8080
2020-02-02 07:55:56.674 Status: WebServer(SSL) started on address: :: with port 443
2020-02-02 07:55:56.674 Status: Proxymanager started.
2020-02-02 07:55:56.674 Starting shared server on: :::6144
2020-02-02 07:55:56.675 Status: TCPServer: shared server started...
2020-02-02 07:55:56.675 Status: RxQueue: queue worker started...
2020-02-02 07:55:58.681 Status: (Test) Worker started...
2020-02-02 07:55:58.681 Status: EventSystem: reset all events...
2020-02-02 07:55:58.681 Status: EventSystem: reset all device statuses...
2020-02-02 07:55:58.689 Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2020-02-02 07:55:58.689 Status: EventSystem: Started
2020-02-02 07:55:58.689 Status: EventSystem: Queue thread started...

I have been searching everywhere to try to find out about libpython3.x
I don't have libpython3.x on my machine and google searches made me more confused.

on my Machine I have
/Users/Jeff/.pyenv/versions/3.7.6/lib/python3.7/config-3.7m-darwin/libpython3.7m.a
/Users/Jeff/.pyenv/versions/3.7.6/lib/libpython3.7m.a

my $PATH is

/Users/Jeff/.rvm/gems/ruby-2.4.1/bin:/Users/Jeff/.rvm/gems/ruby-2.4.1@global/bin:/Users/Jeff/.rvm/rubies/ruby-2.4.1/bin:/Users/Jeff/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/Jeff/.rvm/bin

so I have /Users/Jeff/.pyenv/shims in my path but neither of the above if these are the correct files
OldPensionado
Posts: 28
Joined: Wednesday 01 March 2017 9:07
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Failed Load - libpython3.x

Post by OldPensionado »

Status: EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
The only thing you have to do is:

Code: Select all

sudo apt-get install -y python3-dev
At least this solved the problem I had with the "libpython3.x library".
Good luck!
RPi 1, model B, Rev. 2; RPi 3B+; RPi Zero; RPi 4B
Raspbian 11 (Bullseye)
Domoticz V2024.7

Well, such is life. And it's getting sucher and sucher...
Toulon7559
Posts: 849
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Failed Load - libpython3.x

Post by Toulon7559 »

It might also be useful & effective to perform maintenance/upkeep with

Code: Select all

sudo apt-get update
and

Code: Select all

sudo apt-get upgrade
That 'promotes' the whole OS-package to newest level.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest