We need to open use Rosetta to emulate the Intel architecture. What should be noticed is that also tensorflow should be installed using conda.
You need to change terminal setting:
Navigate to Applications -> Utilities -> Terminal, then right-click and choose "Get Info", and check "Open using Rosetta". Close previously opened Terminal window (if you had any) and open a new one.
conda create -n workshop_env python=3.10
conda activate workshop_envMake sure you are running the terminal as Rosetta. Then type:
CONDA_SUBDIR=osx-64 conda create -n workshop_env python=3.10
conda activate workshop_env
conda config --env --set subdir osx-64Type in terminal:
pip install -r requirements.txt Type in terminal:
jupyter notebookthen choose notebook that you want to run and start your journey.