Skip to content

Instantly share code, notes, and snippets.

@javecs
Last active May 7, 2018 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save javecs/8279847aff4eb0ac199e9a59b2c79ab2 to your computer and use it in GitHub Desktop.
Save javecs/8279847aff4eb0ac199e9a59b2c79ab2 to your computer and use it in GitHub Desktop.
TensorFlow インストール (macOS High Sierra)
  1. Anaconda3

  2. conda環境 3.6

conda create -n tensorflow pip python=3.6
  1. Activate
source activate tensorflow
  1. TensorFlow & Keras
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.5.0-py3-none-any.whl
pip install --ignore-installed --upgrade keras
pip install --ignore-installed --upgrade h5py
  1. Jupyter Kernel
conda install notebook ipykernel
ipython kernel install --user --name tensorflow --display-name=Python3-TensorFlow
@javecs
Copy link
Author

javecs commented Feb 17, 2018

環境を削除するときには、

source deactivate
conda remove -n tensorflow --all

@javecs
Copy link
Author

javecs commented Apr 6, 2018

kerasで、plotを使うためには、インストールする。

conda install graphviz

@javecs
Copy link
Author

javecs commented May 1, 2018

仮想環境の確認

conda info -e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment