can't install TensorFlow-macos and TensorFlow-metal

> python -V
Python 3.8.16
> pip -V
pip 23.0.1 from /Users/yujiewang/miniconda3/envs/pix2code-master/lib/python3.8/site-packages/pip (python 3.8)
> python -m pip install -U pip
Requirement already satisfied: pip in /Users/yujiewang/miniconda3/envs/pix2code-master/lib/python3.8/site-packages (23.0.1)
Collecting pip
  Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.2
> python -m pip install tensorflow-macos
ERROR: Could not find a version that satisfies the requirement tensorflow-macos (from versions: none)
ERROR: No matching distribution found for tensorflow-macos

cpu 2.2 GHz Intel Core i7 gpu Intel UHD Graphics 630 1536 MB

Hi @SetryJones!

Could you try creating a Python3.9 environment in your miniconda and see if the same happens there? This lets us verify if this issue is Python3.8 wheel specific. Additionally can you let us know which MacOS version are you on?

Most likely reason for this issue is that pip checks for the supported wheels for you OS version and it can't find one if the MacOS version is < 12.0.

can't install TensorFlow-macos and TensorFlow-metal
 
 
Q