Skip to content

Instantly share code, notes, and snippets.

@dulao5
Last active September 6, 2018 13:18
Show Gist options
  • Save dulao5/bb798ea30597ca90009df15c7f2576dd to your computer and use it in GitHub Desktop.
Save dulao5/bb798ea30597ca90009df15c7f2576dd to your computer and use it in GitHub Desktop.
Macos : python3 + virtualenv + tensorflow
brew upgrade python3
pip3 install --upgrade pip setuptools wheel
pip3 install --upgrade virtualenv
virtualenv --system-site-packages -p python3 tensorflow
cd tensorflow
source ./bin/activate
# 後: https://www.tensorflow.org/install/install_mac
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.1-py3-none-any.whl
# keras https://keras.io/zh/#30-keras
pip3 install keras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment