'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?
Solution 1:[1]
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)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |