worried-iron-1001
11/12/2024, 7:45 AMpyflyte register --copy none --image "${FLYTE_WORKFLOW_IMAGE}" --version "${VERSION}" "${FLYTE_WORKFLOW_DIR}"
The workflow in the image imports a package that, in turn, imports other pip packages like Pydantic, k8s. However, when I register with the above command, I encounter the error like below:
ModuleNotFoundError: No module named 'pydantic'
Can someone help me resolve this issue?
Due to this error, I'm also unable to register the ContainerTasks with PodSpec, which requires the kubernetes package. pyflyte register
is also unable to find the kubernetes package even though it's present locally and in bazel. Oddly enough, this error doesn't occur when registering with Flytekit which just looks for registrable entities.worried-iron-1001
11/12/2024, 10:34 PMaverage-finland-92144
11/13/2024, 3:44 PMworried-iron-1001
11/13/2024, 4:25 PMaverage-finland-92144
01/20/2025, 1:40 PM