a

    An Hoang

    2 years ago
    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’
    Chris White

    Chris White

    2 years ago
    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

    2 years ago
    Thanks Chris!