Joe D09/05/2023, 5:43 PM
If I run
KeyError: "No class found for dispatch key 'ecs-task' in registry for type 'Block'."
on my instance I get this dependency conflict:
pip3 install prefect-aws
And when I launch my flow I get the same KeyError along with:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. aiobotocore 2.5.4 requires botocore<1.31.18,>=1.31.17, but you have botocore 1.31.40 which is incompatible.
Are there versions of prefect2 / prefect-aws I can use to get this to work? Am I missing something obvious / should I rethink my execution layer?
Warning! Failed to load collection 'prefect_aws': AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' 17:32:19.694 | ERROR | prefect.agent - Failed to get infrastructure for flow run '96a4ce05-7431-4062-bb2b-8c039d5d77e0'.