pip3 uninstall tensorflow
pip3 install tensorflow==1.15
Successfully installed gast-0.2.2 keras-applications-1.0.8 tensorboard-1.15.0 tensorflow-1.15.0 tensorflow-estimator-1.15.1
On Python 3.6.9:
import tensorflow as tf
Illegal instruction