This is a simple note for installing TensorFlow from source on macOS.
Install python
1 | brew install python |
It will install Python-2.7.14. Type python2.7
and check the version.
Install pip
1 | sudo easy_install pip |
Install virtualenv
1 | sudo pip install virtualenv --upgrade |
Create a env
1 | virtualenv --system-site-packages ~/tensorflow --python=python2.7 |
activate the env
1 | cd ~/tensorflow |
Install Tensorflow from source code
1 | brew cask install caskroom/versions/java8 |