-
Download the wheel called
tensorflow-2.4.1-py3-none-any.whl
located at this public google drive link:
drive.google.com/drive/folders/1oSipZLnoeQB0Awz8U68KYeCPsULy_dQ7 -
Assuming you downloaded the wheel to your Downloads folder, install it with pip:
$ pip install ~/Downloads/tensorflow-2.4.1-py3-none-any.whl --user
-
Test that it works with
ipython
at the command line:
$ ipython --no-banner
In [1]: import tensorflow
In [2]:
You can try Apple's directions here. They did not work for me.
If you having difficulties, you might be more succesful if you run iTerm2 or Terminal app in Rosetta mode. Rosetta mode enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor.
- Duplicate iTerm2 or Terminal app.
- Rename the copy something like "iTerm2 Rosetta".
- Right click & "Get Info", check "Open in Rosetta".
- Now you have terminal that acts like an Intel Mac.