Can I use virtual environments with non-dockerized flow runs (LocalRun/flow run running in a subprocess)?

View in #prefect-community on Slack

Atsushi_Saito @Atsushi_Saito: Hi, which python path is used for LocalRun ??
Can I use other virtual environments’ python path like virtual envs in pyenv or conda path?

Michael_Adkins @Michael_Adkins: The same python path as the agent is used
You may provide environment variables though to add directories to the python path.
Virtual environments per flow run are not supported, just per agent. V2 supports conda/venv per flow run.