ERROR: Could not find a version that satisfies the requirement tensorflow2.4 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

Tags:

Misc Example