Hello!
I'm currently trying to create a deployment but am getting fail/crash with 'Flow could not be retrieved from deployment. No module named 'requests_toolbelt'' error.
I've added the module to the pull section in requirements.txt but not having any luck solving this.
n
Nate
01/22/2024, 5:49 PM
hi @Amy!
could you share your pull step? im curious if you're baking your flow code into an image at deployment time vs git cloning at run time (as well as what type of work pool / worker you've got here)
both are valid - it just helps determine what might be going wrong here!
a
Amy
01/23/2024, 11:16 AM
Hi @Nate
Thanks for responding.
This is the pull statement:
pull:
- prefect.deployments.steps.git_clone:
repository: https://github.com/XXXX/data.git
branch: Felt_Push
credentials: "{{ XXXXX }}"
- prefect.deployments.steps.pip_install_requirements:
directory: null
requirements_file: requirements.txt
stream_output: False
m
Mitch
02/29/2024, 6:16 PM
Hey @Amy - did you resolve this? I'm having the same issue.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.