[Python] Terminal stops launching after downgrading Python version

Discussão em 'Python' iniciado por Stack, Março 13, 2025.

  1. Stack

    Stack Membro Participativo

    I recently upgraded my Ubuntu through it's upgrade suggestion from 22.04 to 24.04. when I try python --version I see 3.12.x. But this caused my cqlsh command doesn't work, cause it needs a lower Python version.

    So I decided to install Python 3.9 and add it as an alternative, change the configuration via sudo update-alternatives --config python3 to use Python 3.9 as default version. But as soon as I did it, the terminal didn't launch.

    I am not a fan of Python's virtual environments and looking for a way to downgrade the Python 3.12 system wide to something with most compatibility and reliability..

    How can I do that?

    Continue reading...

Compartilhe esta Página