[Python] How do I add a path to PYTHONPATH in virtualenv

Discussão em 'Python' iniciado por Stack, Maio 5, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to add a path to the PYTHONPATH environment variable, that would be only visible from a particular virtualenv environment.

    I tried SET PYTHONPATH=... under a virtualenv command prompt, but that sets the variable for the whole environment.

    How do I achieve that?

    Continue reading...

Compartilhe esta Página