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
2239am | agent
ERROR lens
[Errno 2] No such file or directory: ‘prefect’: ‘prefect’