[Python] Activate virtualenv in .envrc in poetry managed project

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

  1. Stack

    Stack Membro Participativo

    I want to activate a Python virtual env by changing into a directory.

    This should activate the virtual env:

    cd ~/projects/myproject


    The project gets managed with poetry.

    Background: I am too lazy to type poetry run mycommand. I want to type only mycommand.

    Continue reading...

Compartilhe esta Página