Skip to content

Instantly share code, notes, and snippets.

@ysaito8015
Created July 15, 2018 07:45
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 ysaito8015/bab8d0934bf33232a27cd93200016e16 to your computer and use it in GitHub Desktop.
Save ysaito8015/bab8d0934bf33232a27cd93200016e16 to your computer and use it in GitHub Desktop.
Rlang での tensorflow 環境の作り方 ref: https://qiita.com/ysaito8015@github/items/1fb6efc3b0f3ee6d3e15
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install miniconda
install.packages("curl")
install.packages("keras")
library(keras)
install_keras()
export PATH="/usr/local/miniconda3/bin:$PATH"
source ~/.zshrc
$ conda create --name r-tensorflow python=3.6
$ conda info -e
$ source activate r-tensorflow
pip3 install --ignore-installed --upgrade tensorflow
conda install -c conda-forge keras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment