I am running an agent through supervisorin a remote server/
I am specifying the path for prefect to run.
Copy code
command=/home/ubuntu/project/env/bin/prefect agent start --work-queue "my queue"
This works fine but then when i run flows in the UI the worker is using the global python runtime and no the one in the virtual environment, please help
j
Jeff Hale
09/28/2022, 8:44 PM
Sorry to hear that Tomas. Is this for Prefect 1 or 2? What environment is your agent running in?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.