:wave: Hi … Trying the new ECS Push work pools tog...
# ask-community
y
👋 Hi … Trying the new ECS Push work pools together with the prefect.yaml file (following https://docs.prefect.io/2.13.2/guides/prefect-deploy/?h=pip_install_requirements#utility-steps) But can’t seem to make the pip_install_requirements phase work.
1
This is the prefect.yaml file
This is the req file that sits in the root folder
But when running this simple flow that imports the “decouple” module:
The module is not found:
Any idea how to debug/observe if the pip_install_requirements happens and what are the logs?
Thank you for any help on the issue!
w
I see you typing jake, and youre probably more knowledgeable than me on this. i did just try the pip install requirement steps and i didn’t have any trouble. Would it be possible for you to manually specify the working directory? I have a bad feeling about that clone-step.directory variable resolving wrong or something. There may be some better logging and handling we could do, just trying to unblock you in the short term
is it able to install pandas? Is there something funky with this import in particular?
👀 1
j
hey! It's likely that your pip install step is not succeeding. Those logs aren't captured by prefect but should be available to view on your ECS task
👏 1
y
@Jake Kaplan Sure, thanks. Let me check this.
@Will Raphaelson @Jake Kaplan Tried only the pandas module, still the same:
also can’t see any logs in the Task:
j
just double checking you have
stream_output
set to true on your pull step?
y
checking
@Jake Kaplan I’ve added the stream_output:
but logs are still empty:
any other idea how to debug that install requirements.txt step?
j
Ahh unfortunately you need to configure Cloud watch logs which is a whole thing on it's own. Can you try one more thing for me?
can you add
id: clone-step
to your first pull step
Copy code
- prefect.deployments.steps.git_clone:
    id: clone-step
you reference
clone-step.directory
in your 2nd pull step, but the first step isn't labeled as such
y
@Jake Kaplan Yes! This was the problem:
Thank you 🙏
🙌 2