Hello! I'm currently trying to create a deployment...
# prefect-getting-started
a
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
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
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
Hey @Amy - did you resolve this? I'm having the same issue.