Python

Virtualenv

Create a virtualenv called tfenv:

python3 -m virtualenv tfenv -p python3 --system-site-packages
source tfenv/bin/activate

Tensorflow on M1

Some more packages are still needed but this at least provides a working set. Any errors can be solved by additional pip3 installs.

pip3 install --no-dependencies tensorflow-macos tensorflow-metal absl-py wrapt opt-einsum gast astunparse termcolor flatbuffers google numpy google-api-python-client google-pasta
pip3 install jupyterlab
jupyter-lab