Code: Select all
sudo apt autoremove
sudo apt-get remove python3.8 --purge
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.
Moderator: leecollings
Code: Select all
sudo apt autoremove
sudo apt-get remove python3.8 --purge
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'
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.
Code: Select all
pi@RP-Domoticz:~$ python -V
-bash: usr/bin/python3.5: No such file or directory
Code: Select all
pi@RP-Domoticz:~$ python3 -V
Python 3.5.3
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
Users browsing this forum: Bing [Bot] and 1 guest