After struggling with the installation of TensorFlow on my new MacBook, I finally found a way to do it. Just follow the following steps.
1. Download and install Miniforge (conda)
/bin/bash -c "$(curl -fsSL https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh)"
2. Create an environment and activate it
Let’s call the environment “tf”. Note that at this moment, TensorFlow requires python 3.8.
conda create --name tf python=3.8;
conda activate tf
3. Download and install TensorFlow
When the path to the virtual environment (“tf”) is asked, obtain it by `conda env list`.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/apple/tensorflow_macos/master/scripts/download_and_install.sh)"
I recently started using Notion and couldn’t be more excited: