Dolor Oculus
09/18/2020, 4:21 PMprefect backend server
prefect server start
prefect agent start local -p .
server launches ok, ui looks good, I can register a simple hello world flow,
with Flow("Welcome Flow") as pf:
print("Hello world")
pf.register(project_name="Hello, World!")
Registering this flow results in
Hello world
Result Handler check: OK
Flow: <http://localhost:8080/flow/a5ec20aa-ad9e-4add-977e-cffe9699eba3>
But when I run the flow from the UI, I get this error message:
[2020-09-18 16:20:35,115] ERROR - agent | Error while deploying flow: FileNotFoundError(2, "No such file or directory: 'prefect'")
Any thoughts? ty 🙂nicholas
09/18/2020, 4:24 PMprefect
isn't available from the path you've specified with your agent? Perhaps due to a virtual environment?Dolor Oculus
09/18/2020, 4:25 PMnicholas
09/18/2020, 4:27 PM