Python 3.6 is needed by Tensorflow
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv-virtualenv
brew install pyenv
brew install pyenv-virtualenv
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv install 3.6.5
pyenv virtualenv 3.6.5 tf
pyenv activate tf
pip install --upgrade pip
https://www.tensorflow.org/install/pip
pip install tensorflow
pip install jupyter
jupyter notebook
import tensorflow as tf