[Python] How to create a venv with a different Python version

Discussão em 'Python' iniciado por Stack, Agosto 8, 2025.

  1. Stack

    Stack Membro Participativo

    I have different venvs in my machine in which I have Python 3.10.

    Now for a specific project, I realised that Python 3.10 is not suitable as some libraries are still not compatible. Therefore, when creating a new venv for a new project, I would like to downgrade Python, say to 3.8, only for this specific venv.

    How can I do that? What should I type onto the terminal to do this?

    PS: I use Visual Studio Code and its terminal to create venv.

    Continue reading...

Compartilhe esta Página