Rob Minasyan
Rob Minasyan

Reputation: 409

Tensorflow not found. pip 21.3.1, Python 3.8.9

I am trying to install TF but pip is failing to find any of it's versions.

pip install tensorflow returns

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

and pip show tensorflow says

WARNING: Package(s) not found: tensorflow

I am using macOS with an m1 pro chip, can that be related to the issue in some way?

Upvotes: 1

Views: 403

Answers (1)

slashdottir
slashdottir

Reputation: 8516

try

python3 -m pip install tensorflow-macos
python3 -m pip install tensorflow-metal

you may also need:

brew install hdf5
export HDF5_DIR=$(brew --prefix hdf5) 

Upvotes: 1

Related Questions