I am running an agent through supervisorin a remot...
# ask-community
t
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
Sorry to hear that Tomas. Is this for Prefect 1 or 2? What environment is your agent running in?