https://prefect.io logo
Title
a

An Hoang

04/17/2020, 4:27 PM
I registered my flow (tested successfully locally) to the server following the instructions here: https://docs.prefect.io/orchestration/tutorial/first.html and got this error when triggering the flow from both the CLI and UI. April 17th 2020 at 11:22:39am | agent ERROR lens [Errno 2] No such file or directory: ‘prefect’: ‘prefect’
c

Chris White

04/17/2020, 4:29 PM
Hi An, this usually occurs when you start your agent from within a virtual environment that you haven’t activated. If you are using virtual environments please activate it before starting your agent
a

An Hoang

04/17/2020, 8:43 PM
Thanks Chris!
👍 1