'Could not find a version that satisfies the requirement tensorflow - python3.9 64bit
I'm trying to use Tensorflow for some federated learning purposes, but I can't successfully install it using pip.
pip install tensorflow
Error message I get is:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
I'm running a virtual environment with Python3.9.10 and I'm working from an M1 Mac.
I've looked into similar posts (I would like to install tensorflow but this message appears: Could not find a version that satisfies the requirement tensorflow (from versions: none)) where it suggested to check the python version and even trying tf-nightly instead. I've done this with no success.
Solution 1:[1]
There are no files for arm64 available for tensorflow on the tensorflow pypi page.
There is a guide on how to install tensorflow to be run on Mac though. You would need conda though:
conda create -n TFmacOS python=3.9 pip
conda activate TFmacOS
conda install -c apple tensorflow-deps==2.7.0
python -m pip install tensorflow-macos==2.7.0
python -m pip install tensorflow-metal
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 | neone4373 |
