Connor Keogh
10/15/2024, 10:28 PMUnable to start worker. Please ensure you have the necessary dependencies installed to run your desired worker type.
I've seen this before and had to downgrade to fix it, IIRC. I'm using the config recommended in the docs, and just upgraded the image to `3.0.10`:
image = "prefecthq/prefect:3.0.10-python3.12"
args = [
"prefect",
"worker",
"start",
"--install-policy", "if-not-present",
"--with-healthcheck",
"-p", var.work_pool_name,
"-t", "cloud-run"
]
Anyone else seen this before?Connor Keogh
10/15/2024, 10:30 PMalways
and it appears to be working again. Would be interested to know what causes this though, the if-not-present
option suggests to me that it should still install required dependencies.