Mitch
04/15/2024, 8:31 PMprefect worker start -t ecs -p ecs-worker-pool --install-policy if-not-present
Warning! Failed to load collection 'prefect_aws': ImportError: cannot import name 'deprecated_class' from 'prefect._internal.compatibility.deprecated' (/usr/local/lib/python3.10/site-packages/prefect/_internal/compatibility/deprecated.py)
Alexander Azzam
04/15/2024, 8:34 PMMitch
04/15/2024, 8:34 PMprefecthq/prefect:2.14.13-python3.10
as the default imageKevin Grismore
04/15/2024, 8:38 PMKevin Grismore
04/15/2024, 8:39 PMKevin Grismore
04/15/2024, 8:39 PMpip install prefect-aws && prefect worker start -t ecs -p ecs-worker-pool
Kevin Grismore
04/15/2024, 8:41 PMAlexander Azzam
04/15/2024, 8:41 PMMitch
04/15/2024, 8:47 PMpip install prefect-aws && prefect worker start -t ecs -p ecs-worker-pool
would resolve the issue. The install policy should install all proper requirements and version right?Kevin Grismore
04/15/2024, 8:49 PMKevin Grismore
04/15/2024, 8:50 PMprefecthq/prefect:2.17.1-python3.10
I believe is the newestMitch
04/16/2024, 1:41 PMpip install prefect-aws && prefect worker start -t ecs -p ecs-worker-pool
seems to be stable for us. Thanks for the help Kevin - much appreciated!