https://prefect.io logo
t

Tomás Emilio Silva Ebensperger

09/28/2022, 6:17 PM
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?
2 Views