I had Ubuntu 18.04 running, and then I ran the commands
sudo apt-get install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx
sudo apt install python3.7-venv
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt install python3.7
sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/ppa
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2
sudo update-alternatives --config python3
and set the default Python 3 version to Python 3.7.4. I rebooted the system and now the terminal won't open. I also have a small notification in the top right hand corner that says "error occurred while checking for updates".
How do I fix this? Is this because I deleted the repository from the PPA or is it due to having the default as Python 3.7.4? Should I have left the repository in the PPA?