-
I'm following the Prefect tutorial available at: https://docs.prefect.io/core/tutorial/01-etl-before-prefect.html. The tutorials have a dependency to aircraftlib which is a directory under tutorials. I can execute the Flows through the terminal with:
and it executes perfectly! I've created a project, and added the Flow to that project. Through the Prefect Server UI I can run the Flow, but it fails with the error message:
How should I handle the dependency when executing the Flows through the Prefect Server UI? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @carlryn this tutorial currently is only set up for local execution without a backend (something we're looking to improve in the near future) and I can see where it would have issues in its current state. In order for local modules to be importable when a flow run is executed it either needs to be importable from the |
Beta Was this translation helpful? Give feedback.
Hi @carlryn this tutorial currently is only set up for local execution without a backend (something we're looking to improve in the near future) and I can see where it would have issues in its current state. In order for local modules to be importable when a flow run is executed it either needs to be importable from the
PYTHONPATH
or packaged up with something like Docker storage