-
Install Homebrew The Missing Package Manager for macOS (or Linux) — Homebrew
-
Download Miniforge3
-
Install Miniforge3 and restart your terminal as soon as the installation finishes:
chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate
- Create a Conda environment
conda create --prefix ./env python=3.8
conda activate ./env
- Install TensorFlow, Jupyter, and any libraries you need
conda install -c apple tensorflow-deps
pip install tensorflow-metal
pip install tensorflow-macos
conda install jupyter numpy matplotlib
- Run Jupyter
jupyter notebook