Set Python 3.8 as default on Ubuntu 22.04
Trying to set Python 3.8 as default on my Ubuntu 22.04 instance but can't seem to get it to work. Any help is appreciated.
Hey, any more clarification would be helpful. Is Python 3.8 installed but not showing up as 3.8 when running
python --version? Also what command have you used to install this version of Python? Any error messages or additional insight to what may be the problem can be helpful in figuring out what’s wrong.
I was also able to find some links that might be helpful to your question.
Seems that running
sudo update-alternatives --set python /usr/bin/python3.8 has been the solution for some users but would first just try installing python 3.8 again using the
sudo apt install python-is-python3
Hope this was helpful