-1

I just upgraded from Ubuntu 21.10 to Ubuntu 22.04. Everything perfect except for python. Python 3.11 or 3.10 broke my python scripts. In my struggle I think i damaged the system and now I have mess: I seem to have all 3.9, 3.10, 3.11 and cannot open a terminal etc... Can you please help? Many thanks for reading. Best regards, Zuheyr

2 Answers2

1

Run

sudo apt install ubuntu-desktop

and you will get your system back.

I have the same issue, I cannot install Python 3.6. Ubuntu 2022 comes with Python 3.10.

ggorlen
  • 115
Aly
  • 11
0

If you have scripts that require an older version of Python and/or certain versions for specific modules and there are no packages to remedy this, your best bet—at least as a temporary workaround—is to ensure that said scripts work in a separate environment. One possible building block which I use myself is pyenv (Simple Python version management).