-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install ml-metadata v1.0.0 #161
Comments
If you're using an Apple M1 chip, this could be related to #143. |
@codesue Interesting, I have an AMD CPU (normal x86 architecture cpu) but I feel like for me the issue is finding the package on PyPi when doing a pip install. |
@AlexandreBrown I'm doing a regular pip install with the default resolver and no flags, e.g. On my machine with an M1 Pro chip using Python 3.9.7, this produces the following error: ERROR: Could not find a version that satisfies the requirement ml-metadata==1.9.0 (from versions: 0.12.0.dev0, 0.13.0.dev0, 0.13.1.dev0)
ERROR: No matching distribution found for ml-metadata==1.9.0 Installation works as expected on my machine with an Intel chip. |
@codesue Ok, yes installing the latest version works for me as well being on a x86 architecture cpu, can you try to install v1.0.0 on both your machines to see if you have the same issue as me? |
@AlexandreBrown Ohhh, |
@AlexandreBrown Thanks for bringing this up. What version of |
Hello @BrianSong , I'm using pip version |
Hi @venkat2469, I wonder does release engineer have any idea why |
@venkat2469 @BrianSong Hello, any update on this ? |
Hi @AlexandreBrown , may I know the python version you are using to install the ml-metadata package? |
Hello @rtg0795 , using Python 3.9 under Ubuntu (tried various Ubuntu versions, 18.04, 20.04, 22.04). |
@AlexandreBrown , Python 3.9 is not supported until 1.8.0. Could you try to install 1.8.0 or 1.9.0? |
@BrianSong Unfortunately 1.8 and 1.9 cause errors. I must install a version that is compatible with Kubeflow (v1.4.1). Kubeflow 1.4.1 uses a database scheme that seems to only work with lower versions like 1.0. My use case is I want to use ml-metadata to query the mysql database that Kubeflow fills in during experiments (pipeline runs). |
I see. Is it possible for you to upgrade Kubeflow with a higher version? v1.4.1 is a pretty old version so it might not be compatible with MLMD 1.8.0 and higher. Also, downgrading your py version looks like another way to go. |
@BrianSong Well to be quite honest I wouldn't consider Kubeflow I followed your alternative option and downgraded my python version from 3.9 to 3.8 and that did the trick for me. Thanks! |
Description
Hello, I cannot install
v1.0.0
of ml-metadata using pip even tho the version seems available on the PyPi page : . https://pypi.org/project/ml-metadata/#historyUse Case
ml_metadata
to acces Kubeflow artifacts information stored in the MySQL db.The text was updated successfully, but these errors were encountered: