Error when trying to update to latest Beta
Moderators: leecollings, remb0
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Error when trying to update to latest Beta
Hello,
When i try to update domoticz on my Ubuntu server is get this error message:
-- Using builtin Mosquitto library
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "3.2")
CMake Error at CMakeLists.txt:72 (MESSAGE):
Python3 not found on your system, use USE_PYTHON_PLUGINS=NO or sudo apt-get
install python3-dev)
-- Configuring incomplete, errors occurred!
See also "/home/domoticz/domoticz/CMakeFiles/CMakeOutput.log".
See also "/home/domoticz/domoticz/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
I have installed Python 3 but is still get this error.
When i try to update domoticz on my Ubuntu server is get this error message:
-- Using builtin Mosquitto library
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "3.2")
CMake Error at CMakeLists.txt:72 (MESSAGE):
Python3 not found on your system, use USE_PYTHON_PLUGINS=NO or sudo apt-get
install python3-dev)
-- Configuring incomplete, errors occurred!
See also "/home/domoticz/domoticz/CMakeFiles/CMakeOutput.log".
See also "/home/domoticz/domoticz/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
I have installed Python 3 but is still get this error.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
Anyone ?
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
I really need to update to the latest Beta version on my Ubuntu server.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
Re: Error when trying to update to latest Beta
I had the same issue on my ubuntu server.
If you don't need python3 support:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
make
If you don't need python3 support:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
make
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Error when trying to update to latest Beta
Hi gennapium,
The error actually says to not to install python3 itself.
Give that a go.
The error actually says to
Code: Select all
sudo apt-get install python3-dev
Give that a go.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Re: Error when trying to update to latest Beta
That does not work!!!Dnpwwo wrote:Hi gennapium,
The error actually says tonot to install python3 itself.Code: Select all
sudo apt-get install python3-dev
Give that a go.
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Error when trying to update to latest Beta
If installation of python3-dev does not work it is most likely because the cmake version is really old.
It will need to be at least at version 3 to pick up python properly, if you can't upgrade cmake to version 3 (latest I've seen is over 3.6) then you should indeed use:
It will need to be at least at version 3 to pick up python properly, if you can't upgrade cmake to version 3 (latest I've seen is over 3.6) then you should indeed use:
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
Hallo,
I did install:
sudo apt-get install python3-dev
But the problem still exists.
I did install:
sudo apt-get install python3-dev
But the problem still exists.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
Ok,
I will give this:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
a try this evening. See what happens.
I will give this:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
a try this evening. See what happens.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Error when trying to update to latest Beta
Are you running Ubuntu 12.04? If so that has an ancient cmake. You can tell by running:
There is a backport avaiable, have a look here https://launchpad.net/~george-edison55/ ... -backports or you can build it from source here http://askubuntu.com/questions/679299/i ... tu-precise and get a newer version
Code: Select all
cmake --version
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Re: Error when trying to update to latest Beta
14.04 LTS also has an old version by default.Dnpwwo wrote:Are you running Ubuntu 12.04? If so that has an ancient cmake.
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
I am running Ubuntu 14.04.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
Re: Error when trying to update to latest Beta
Same problem
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
This is the solution ?
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
This is the solution ?
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
Re: Error when trying to update to latest Beta
yesgennapium wrote:This is the solution ?
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
Great, i will try it this evening.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
-
- Posts: 54
- Joined: Thursday 18 August 2016 10:06
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Error when trying to update to latest Beta
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
This did not solve the problem, this however did:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
sudo make install
This did not solve the problem, this however did:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor
Re: Error when trying to update to latest Beta
It did for me. If you need python3 support later you will run into the same problem again. Better upgrade cmake to version 3.2.xgennapium wrote:This did not solve the problem, this however did:
cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt
Did you get any errors after the install of the new cmake?
- jumbotroll
- Posts: 793
- Joined: Tuesday 13 January 2015 14:36
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Oslo,Norway
- Contact:
Re: Error when trying to update to latest Beta
Hi.
Trying to cross compile with pluginmanager for all synology NAS.
Compile with cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt working ok.
The latest Python3 for Synology is Python3.5.1.spk, but if I try to cross compile with Python 3.5.1 it's failed.
If I cross compile with Python3.4.1 all is ok, but domoticz give this error: 2016-12-13 22:07:35.344 Error: PluginSystem: Failed load 'libpython3.5.so', Python probably not installed on system.
Is it possible to change this plugin to accept Python 3.4 and 3.5?
BTW using Cmake 3.2.2
Trying to cross compile with pluginmanager for all synology NAS.
Compile with cmake -DCMAKE_BUILD_TYPE=Release -D USE_PYTHON_PLUGINS=NO CMakeLists.txt working ok.
The latest Python3 for Synology is Python3.5.1.spk, but if I try to cross compile with Python 3.5.1 it's failed.
If I cross compile with Python3.4.1 all is ok, but domoticz give this error: 2016-12-13 22:07:35.344 Error: PluginSystem: Failed load 'libpython3.5.so', Python probably not installed on system.
Is it possible to change this plugin to accept Python 3.4 and 3.5?
BTW using Cmake 3.2.2
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Error when trying to update to latest Beta
Hi Jumbotroll,
Functionally it will work with Python 3.2 and above (test 3.2, 3.4, 3.51 & 3.5.2), I'm in the process of trying to work out a reliable of locating the libarary on differnt flavours of Unix and different versions of Python and how to have a version out very soon.
Functionally it will work with Python 3.2 and above (test 3.2, 3.4, 3.51 & 3.5.2), I'm in the process of trying to work out a reliable of locating the libarary on differnt flavours of Unix and different versions of Python and how to have a version out very soon.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Who is online
Users browsing this forum: No registered users and 1 guest