-
Notifications
You must be signed in to change notification settings - Fork 45
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
pip install v1.1.5 fails on Mac (M1) #153
Labels
bug
Something isn't working
Comments
We might maintain experimental Apple x86 support by the following conditional statements in
Python environment marker reference: https://peps.python.org/pep-0508/#environment-markers |
marvinschmitt
added a commit
that referenced
this issue
Mar 19, 2024
Merged
marvinschmitt
added a commit
that referenced
this issue
Mar 19, 2024
yugahikida
pushed a commit
to yugahikida/BayesFlow
that referenced
this issue
Aug 24, 2024
Fix dependency conflict during installation on Mac Apple Silicon, stefanradev93#153
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
After v.1.1.5, a fresh
pip install bayesflow
on Apple Silicon (M1) fails due to conflicting dependencies:Underlying Cause
After some initial research, this looks like a consequence of a breaking change in tensorflow 2.16.1: Apple Silicon users shall now use
pip install tensorflow
(new) instead ofpip install tensorflow-macos
(old).Source: https://github.com/tensorflow/tensorflow/releases/tag/v2.16.1
BayesFlow's current
setup.cfg
still differentiates between OS types to install eithertensorflow
ortensorflow-macos
.Solution
BayesFlow's
setup.cfg
needs to be updated. If we decide to stop support for the legacy Apple x86 hardware (Intel chips), we can just remove the conditional statement insetup.cfg
and always installtensorflow
. Opinions appreciated.The text was updated successfully, but these errors were encountered: