Klashe
03/07/2025, 4:17 AMMarvin
03/07/2025, 4:17 AMprefect worker start --type ecs --pool batch --install-policy if-not-present
would not work due to dependency conflicts, particularly with the prefect-aws
package requiring Prefect version >=3.0.0rc1
. This could lead to the error you're seeing if the Docker image is trying to install incompatible versions of Prefect or its dependencies.
To resolve this, you should ensure that your Docker image includes all necessary dependencies at compatible versions. You may need to specify exact versions of Prefect and related packages that are known to work together.
For more details, you can refer to this GitHub issue where similar problems were discussed.