Domoticz-deCONZ issues

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Domoticz-deCONZ issues

Post by Thorgal789 »

For remove, you can try

Code: Select all

sudo apt autoremove
sudo apt-get remove python3.8 --purge
To re-install python 3.5, same link than before https://gist.github.com/BMeu/af107b1f3d ... 6429367a3b

But remember you can have many python versions, and your system is realy out of date, I think you can keep 2/3 python version for some time.
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz-deCONZ issues

Post by rednas »

Removing using that code doesn't work..

Code: Select all

pi@RP-Domoticz:~$ sudo apt-get remove python3.8 --purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.8
E: Couldn't find any package by regex 'python3.8'
I installed it using this link (https://gist.github.com/BMeu/af107b1f3d ... 6429367a3b), so I probably need to uninstall it accordingly? However I am not really experienced with these kind of systems.
I am also planning to update my system. However I first want to have this working and then transfer everything.
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Domoticz-deCONZ issues

Post by Thorgal789 »

Ha yes, you are right, perhaps that https://askubuntu.com/questions/87111/i ... completely

I m not really experienced with these kind of systems too, but with you I am getting better ^^.
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz-deCONZ issues

Post by rednas »

Pfff, it's really giving me headaches..
Uninstalling doesn't work. From which folder should I perform the command of uninstalling it?

I also found something about removing it with checkinstall. However checkinstall gives me errors like this:

Code: Select all

Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381

Code: Select all

copying build/lib.linux-armv7l-3.8/__pycache__/_sysconfigdata__linux_arm-linux-gnueabihf.cpython-38.pyc -> /usr/local/opt/python-3.8.1/lib/python3.8/lib-dynload/__pycache__
error: [Errno 2] No such file or directory
Makefile:1614: recipe for target 'sharedinstall' failed
make: *** [sharedinstall] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
I also installed Python3.5 right now. I made an alias for python to python3.5 but this shows:

Code: Select all

pi@RP-Domoticz:~$ python -V
-bash: usr/bin/python3.5: No such file or directory

However python3 shows this:

Code: Select all

pi@RP-Domoticz:~$ python3 -V
Python 3.5.3
:( :(
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Domoticz-deCONZ issues

Post by Thorgal789 »

For your second problem. It's normal "python-V" check your python 2 version (and not normal your system search phython3.5) and "python3 -V" check your python 3 version, so all is ok on this side.
Perhaps "update-alternatives --config python" ? an select a python2 version.

For you first problem, I think its the same folder you have installed it (but for 3.8 version)

Code: Select all

$ wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
$ tar zxvf Python-3.5.2.tgz
$ cd Python-3.5.2
$ ./configure --prefix=/usr/local/opt/python-3.5.2
$ make
$ sudo make install
just use "sudo make uninstall" in last command instead.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest