-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
setup.py requirements on mac os #231
Comments
@gdupret do you have examples of other repos? I'm not sure about the best way to do that. |
maybe simply just something like: import platform
tensorflow = 'tensorflow'
if platform.system() == "Darwin" and platform.processor() == 'arm':
tensorflow = 'tensorflow-macos'
install_requires = ['numpy', tensorflow, 'tensorflow_addons'] |
@psomers3 fair enough :) |
@gdupret can you try to run this pip install and let me know if it works on your Mac M1?
If it does not work, you might have to run some of those commands beforehand:
The two problematic packages are For info here is the command output I have on my Mac M1:
|
I made a clean install on a virtual environment, |
@gdupret okay then I'll push it to the main branch then! |
The compatibility with MacOS was pushed in 3.4.3. Please install it that way: The wheel was made for Linux and not for the Mac M1. Using |
At least for M1 machine:
instead of
The text was updated successfully, but these errors were encountered: