error could not find a version that satisfies the requirement tensorflow code example

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

in the terminal paste this
this will surely work

pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl

Example 2: ERROR: Could not find a version that satisfies the requirement torch===1.4.0

The most likely reason is a 32-bit installation of python, while 
the torch libraries rely on having a 64-bit version. 
Just start python from command line and observe

C:\Users\user>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) 
[MSC v.1916 64 bit (AMD64)] on win32

If it shows 32, then install 64-bit python

Example 3: pip install tensorflow not working

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl

Example 4: ERROR: Could not find a version that satisfies the requirement tensorflow ERROR: No matching distribution found for tensorflow

Use this:
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0-py3-none-any.whl

Example 5: ERROR: Could not find a version that satisfies the requirement tensorflow== ERROR: No matching distribution found for tensorflow==

# Check, if you are using 64 bit python, since it's required for tensorflow.
# If you are using 32 bit python first install a 64 bit version of python, before installing tensorflow.

# Check bit version:
# If you start python in your terminal, you can see the bit version in square brackets in the first line.
# E.g.: 
# C:\>python
# Python 3.x.x ... [MSC v.1928 64 bit (AMD64)] ...
# Type "help", "copyright", "credits" or "license" for more information.
# >>>

Tags:

Misc Example