what version of python does tensorflow use code example
Example 1: check tensorflow version
import tensorflow as tf
tf.__version__
Example 2: 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 3: check tensorflow version
python3
import tensorflow as tf
tf.__version__
Example 4: see tensorflow version python
python -c 'import tensorflow as tf; print(tf.__version__)'
python3 -c 'import tensorflow as tf; print(tf.__version__)'