ls /usr/bin/python*
sudo apt-get remove python3.5
sudo apt-get remove --auto-remove python3.5
sudo apt-get purge python3.5
sudo apt-get purge --auto-remove python3.5
sudo apt-get update
sudo apt-get install python3
Also, see https://docs.python-guide.org/starting/install3/linux/ or install python3.8 https://linuxize.com/post/how-to-install-python-3-8-on-ubuntu-18-04/
- sudo apt-get install libsqlite3-dev
- ./configure --enable-loadable-sqlite-extensions && make && sudo make install
This page should be removed! The commands are destructive and achieve absolutely nothing. Removing Python 3 as it is described above will render your machine unusable. I tested the above commands on VirtualBox machine and it damaged the machine beyond repair. Luckily I had a backup. Again, DON'T USE THE ABOVE COMMANDS!! RUN DON'T WALK!!