jaehoon
02/02/2023, 5:39 AMTimo Vink
02/02/2023, 5:42 AMState Message
which looks relevantjaehoon
02/02/2023, 5:46 AMSubmission failed. Traceback (most recent call last): File "/home/ubuntu/prefect/venv/lib/python3.10/site-packages/prefect/infrastructure/docker.py", line 89, in _get_docker_client docker_client = docker.from_env() AttributeError: module 'docker' has no attribute 'from_env' During handling of the above exception, another exception occurred: AttributeError: module 'docker' has no attribute 'errors'
Timo Vink
02/02/2023, 6:01 AMdocker
. Do you have an incompatible version installed (looks like prefect needs >=4.0), a custom library called docker
, or a file like docker.py
or docker/__init__.py
?Christopher Boyd
02/02/2023, 2:38 PMAttributeError: module 'docker' has no attribute 'errors
indicates a likely versioning mismatch on docker between where you built the flow, and where it is executing.
You aren’t seeing other logs in the UI, because the flow hasn’t started due to infrastructure not being startedjaehoon
02/03/2023, 1:56 AMChristopher Boyd
02/03/2023, 1:58 PM