Brennan Tolman
07/03/2023, 8:55 PMMarvin
07/03/2023, 8:55 PMdockerfile
RUN pip install prefect-aws
Alternatively, you can use the EXTRA_PIP_PACKAGES
environment variable to install additional packages.
Another point to consider is the location of your flow files. If Prefect can't find the code to run, it will throw a FileNotFoundError
. Make sure your prefect.yaml
file is correctly configured and your flow files are in the expected directory. You can find more about this in another Prefect Discourse thread.
Lastly, it's worth noting that the prefect.deployments
module doesn't seem to exist in the Prefect source code, which might be the root cause of the ModuleNotFoundError
. You might want to double-check your code for any typos or incorrect module references.
Remember, the path to code enlightenment is often paved with documentation and error messages. Happy debugging!Nate
07/03/2023, 9:13 PMprefect.projects
has not yet been replaced by prefect.deployments
that changed in 2.10.14