-
Notifications
You must be signed in to change notification settings - Fork 454
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
[BUG]: For Mac M1, fresh pip install zenml
in python 3.9.13 has dependency clashes that prevent install
#687
Comments
@j-hartshorn I am unable to replicate this issue. Our github actions tests run on Python 3.9 and are able to install ZenML fine. I also verified that Are you sure you are using the right environment when you do |
Ah I see you are using |
@htahir1 I just hit the same problem, and although I think it is useful that there is a documented workaround, but it isn't obvious for a user that this is in fact a problem due to an incompatibility with M1s. Since this is problematic today, I would recommend erroring on ARM64 architectures with a meaningful message. I see that ZenML doesn't use Another thing that would be useful is to keep this issue open to spread awareness. In my particular case, the linked guide uses the one packaging framework/tooling that I don't use, so I'll keep looking for other ways to try this outt. |
|
Great @j-hartshorn. Can you verify if the workaround fixed? @alfredodeza You're right but then lets change the issue name to reflect it closely This is also related #93 |
pip install zenml
in python 3.9.13 has dependency clashes that prevent installpip install zenml
in python 3.9.13 has dependency clashes that prevent install
@htahir1 is the plan to steer away from the Tensorflow dependency as noted in #93 (comment) ? |
@htahir1 I'm reluctant to install an entirely new python toolchain to handle this particular case, it seems like a severe workaround. We have alternate linux environments we can use zenml that work in the mean time and I'll keep an eye out for potential fixes in the future. |
@alfredodeza We do not have a tensorflow dependency. If you mean the dependency with ml-pipelines-sdk, then that is definitely something on the roadmap to do but I cant give a clear timeline for it. @j-hartshorn Sorry about that! The Mac M1 experience is really painful. Even within the core maintainer team, we have a few people using it like @safoinme and @schustmi and we know the pain for sure. If there are any suggestions or helpful advice, we're happy to take them on board. In the meanwhile, ill keep this issue open and hope that upstream dependencies release support soon! |
Any updates on this issue. Tried completely new python environments with different python versions (3.7.x, 3,8.x and 3.9.x) and it is impossible to install zenml on Mac M1. Tried different versions of Tensorflow with and without M1 processor support. Will wait for the updates before exploring zenml. Thanks |
@Karamya We have now a dedicated guide just for this: https://docs.zenml.io/getting-started/installation/m1-mac-installation |
@alfredodeza @j-hartshorn @Karamya Starting with |
Contact Details [Optional]
No response
System Information
Python 3.9.13 (main, Jun 6 2022, 18:15:49) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
macOS Monterey 12.2.1 (21D62)
What happened?
Creating a brand new python 3.9 environment (with pyenv) and attempting to install
zenml
with pip fails due to dependency clashes. I would expect this to just work.Reproduction steps
pyenv install 3.9.13
pyenv local 3.9.13
python -m venv venv
andsource venv/bin/activate
pip install zenml
...
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: