Comments on: How to Install and Switch Python Versions on Ubuntu 20.04 https://www.rosehosting.com/blog/how-to-install-and-switch-python-versions-on-ubuntu-20-04/ Premium Linux Tutorials Since 2001 Sat, 08 Oct 2022 06:22:21 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: admin https://www.rosehosting.com/blog/how-to-install-and-switch-python-versions-on-ubuntu-20-04/#comment-48950 Sat, 08 Oct 2022 06:22:21 +0000 https://www.rosehosting.com/blog/?p=40586#comment-48950 In reply to David.

If you install a different Python version on your system you need to make sure that you don’t change the default python version because it may break it.

]]>
By: David https://www.rosehosting.com/blog/how-to-install-and-switch-python-versions-on-ubuntu-20-04/#comment-48948 Thu, 06 Oct 2022 10:23:52 +0000 https://www.rosehosting.com/blog/?p=40586#comment-48948 I tried the method described with Ubuntu 22.04 (LTS).
(I know, this post is written for 20.04. But, perhaps there is someone who has the same idea as I had.)

This method broke my system; couldn’t reboot anymore. No problem, I use Ubuntu on a VM and did a snapshot before.

I don’t know why this happend, but I found this discussion (https://unix.stackexchange.com/questions/410579/change-the-python3-default-version-in-ubuntu). Comments to the highest rated answer mention, that this method can breake apt. Another user reports on a break of gnome-terminal.

Alternatives to this method are also mentioned there (updating symbolic link). Didn’t try them out yet.

]]>