I just upgraded python in ubuntu to python 3.10 to use the match/case statements, but now, my terminal won't open. Anywhere. I tired opening it on Visual Studio Code, but it says the path does not exist. Gnome terminal and terminator won't even give any feedback. I am using Ubuntu 20.04 with i3wm, my shell is zsh, and here are the commands i used (i modified them from this site and this site): sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.10 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.6 10 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python2.6 10 sudo update-alternatives --config python sudo update-alternatives --config python3 For what I remember my previous python version was somewhere around 3.7. If you prefer, here are the specs from above: OS: Ubuntu 20.04 Shell: zsh (oh-my-zsh) WM: i3 Terminal: gnome-terminal Important: Please remember I do not have access to a terminal. I have still not tried recovery mode, but if you have a non-termianl based solution, it is preferred. Continue reading...