I currently have python 3.8 installed. I also installed python 3.11 seperately, but the default python3
alias points to 3.8:
➜ ~ python3 --version
Python 3.8.10
➜ ~ python3.11 --version
Python 3.11.1
I want to upgrade the default alias to 3.11, system wide, because I am using uLauncher with the Todoist plugin, which uses the python package todoist-api-python
The problem: The latest version of the package requires at least python 3.9, but at least on my system, the default python3
points to 3.8, which won't work. So whenever I install the package, it would install an older version, which uses an old, deprecated version of the todoist API and this does not work anymore.
There is no way to tell uLauncher to use the already installed python3.11
, As far as I know.
So I tried to switch the python3
alias to point to 3.11 by using update-alternatives
like described here
At first, I was happy, when I saw python3 --version
print out 3.11
, but I quickly realized that this actually broke major things. The uLauncher application, the reason why I'm trying to do this python upgrade, did not launch anymore, and even the default gnome-terminal won't start up anymore.
So I went back to python3
pointing to 3.8 in order to be able to use my computer properly, but the original problem still exists.
I suspect applications depend on python and expect 3.8, so they break when python3
points to something else.
How can I upgrade to python 3.11 on Ubuntu 20.04 without breaking major applications?