install tensorflow python 3.9 code example

Example 1: install tensorflow for python 3.9.1

python -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

Example 2: installer tensorflow 2.0

# Requires the latest pip
pip install --upgrade pip

# Current stable release for CPU and GPU
pip install tensorflow

# Or try the preview build (unstable)
pip install tf-nightly

Example 3: cant install tensorflow pip python 3.6

pip install --upgrade tf

Example 4: tensorflow for python 3.9

Not available for version 3.9