pip install tensorflow not working code example

Example 1: 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 2: pip install tensorflow no matching distribution found for tensorflow

this error will show only on python 3.9 if you use python 3.8 or before and after python 3.5 or something you wont get this error

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: cant install tensorflow pip python 3.6

pip install --upgrade tf

Example 5: why tensorflow not working in .py file

##don't execute your file as 
sudo python3 <yourfile.py>

##just use 
python3 <yourfile.py>

## and also *don't* use file names like "imp.py", "tf.py",