[Python] wsl ubuntu 20.04 -> with python3.9 and without python3.8

Discussão em 'Python' iniciado por Stack, Julho 19, 2025.

  1. Stack

    Stack Membro Participativo

    Want to use python3.9 with actual pip and venv. And remove python3.8. I've installed python3.9 like that. Then pip. And python3.9-venv using apt.

    Problem is pip and venv use distutils. Whish downloads via python3-distutils (python3.9-distutils is virtual package which refers to python3-distutils) and drags python3.8 with it.

    I tried to remove python3.8 with all that methods one by one. But each time distutils removes along with python3.8. I read that dialogue. And I'm not quite sure but it seems there is no distutils outside of python3.8 package.

    So am I nailed forever with python3.8 or there is solution to remove it safely? Or somehow extract distutils and tie it with python3.9?

    Continue reading...

Compartilhe esta Página