https://prefect.io logo
Title
c

Connor Campbell

07/16/2021, 8:02 PM
probably a dumb question but when running local executor in a conda environment. Does the ui, agent and code all need to be run from the same conda environment?
n

nicholas

07/16/2021, 8:03 PM
Hi @Connor Campbell - no, they shouldn't need to be run in the same conda environment (they can even run on completely different machines); whatever environments they do run in will need access to
prefect
and any dependencies though 🙂
z

Zanie

07/16/2021, 8:04 PM
If you are running a
LocalAgent
it'll need to be in the environment since it's just spawning subprocesses.
👍 1
Unless you're doing something else to enter your environment at runtime
c

Connor Campbell

07/16/2021, 8:06 PM
gotcha that makes sense thank you