mac + pyenv + anacondaでのkeras環境の設定

conda create -n keras

conda info -e

で仮想環境を確認。

activate hogehoge/keras

conda install tensorflow

kerasはconda-forgeからインストール。

conda config --append channels conda-forge

conda config --get channels

conda install keras

jupyter notebook

でjupyterを起動し、カーネルをkerasに変更。

以上

追記2018/01/23
bashrcに以下を記載している
alias activate="source $PYENV_ROOT/versions/anaconda3-2.5.0/bin/activate"