tensorflow: Could not find a version that satisfies the requirement tensorflow (from versions: none)

System information

  • OS Platform and Distribution: masOS Big Sur
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version: none
  • Python version: 3.8.2
  • Installed using virtualenv? pip? conda?: virtualenv + pip

Describe the problem Could not find a version that satisfies the requirement tensorflow (from versions: none)

Provide the exact sequence of commands / steps that you executed before running into the problem

➜  ~ python -m pip install --upgrade tensorflow
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensor flow
➜  ~ python3 -m pip install --upgrade tensorflow==2.3.0                                        
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.3.0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

@H-111-di

Please, refer similar issue #39130 Please, uninstall everything and then install in new environment.

Step 1: pip install -U pip
Step 2: pip install -U setuptools
Step 3: pip install tensorflow

TensorFlow 2 packages require a pip version >19.0. Could you please upgrade pip using the below command and let us know if it works.

pip install --upgrade pip.

For more information please check this TensorFlow guide. Thanks!

pip install tensorflow

I have this issue with python 3.10.10 on m1

@H-111-di

Could you please install python 3.8 from https://www.python.org/downloads/mac-osx/ and see if the issue still persists.Thanks!