1

I have a big problem, I was trying to use Python3 on my PC and it seemed like Python3 wasn't there, I tried installing it and it said Python3 is already installed.

So I uninstalled python3 and reinstalled it, that's when everything stopped functioning properly, then I rebooted the PC and it showed a long log then got stuck and doesn't even reach the lock screen.

I firstly ran 'sudo apt update'. Then ran 'sudo apt install software-properties-common' and it successfully installed. Next I ran 'sudo add-apt-repository ppa:deadsnakes/ppa' After I ran 'sudo apt update' again.

second step I ran 'sudo apt install python3.8' Out put indicated that python3.8 is already installed. When checking the version with 'python ––version' Output was "command not found"

That's when I ran 'sudo apt remove python3.8' then after that 'sudo apt install python3.8' It did install some of the files and finished but things stopped functioning.

I would show the log if I knew how

output upon boot

2 Answers2

1

Python is an important part of Ubuntu, removing it will most likely harm your installation (because dependent packages have been removed as well).

I'd advise you to save your data and set up a new system. You should never remove python from a linux distro.

See more answers concerning the removal of python....

kanehekili
  • 7,426
0

By running sudo apt-get install python3-all Then sudo apt-get install --reinstall ubuntu-desktop solved my problem.