You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that when trying to use image in a deployment an error about Python mismatch happens. Below is the exact error:
Error importing: Python version mismatch: module was compiled for Python 3.10, but the interpreter version is incompatible: 3.12.7 (tags/v3.12.7-0-g0b05ead-dirty:0b05ead, Oct 1 2024, 15:39:44) [GCC 14.2.0].Traceback (most recent call last):
File "/kfp/metadata_writer/metadata_writer.py", line 25, in<module>
from metadata_helpers import *
File "/usr/lib/python3.12/site-packages/metadata_helpers.py", line 21, in<module>
from ml_metadata.metadata_store import metadata_store
File "/usr/lib/python3.12/site-packages/ml_metadata/metadata_store/__init__.py", line 15, in<module>
from ml_metadata.metadata_store.metadata_store import downgrade_schema
File "/usr/lib/python3.12/site-packages/ml_metadata/metadata_store/metadata_store.py", line 31, in<module>
from ml_metadata.metadata_store.pywrap.metadata_store_extension import metadata_store as metadata_store_serialized
ImportError: Python version mismatch: module was compiled for Python 3.10, but the interpreter version is incompatible: 3.12.7 (tags/v3.12.7-0-g0b05ead-dirty:0b05ead, Oct 1 2024, 15:39:44) [GCC 14.2.0].
The text was updated successfully, but these errors were encountered:
I was able to build a new image that worked in the deployment. A better change option would be being able to change the default version of python and the py packages that are being installed. All the packages in the file are installed but are installed for 3.12 instead of 3.10 by default. I am not sure if this possible or not.
Which image/versions are related to this issue/feature request?
cgr.dev/chainguard/kubeflow-pipelines-metadata-writer:latest
Issue/Feature description
The issue is that when trying to use image in a deployment an error about Python mismatch happens. Below is the exact error:
The text was updated successfully, but these errors were encountered: