0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TensorFlow 入門1

Last updated at Posted at 2017-12-16

#環境
 Mac

##Homebrew インストール
 公式ページからスクリプトをコピー
  https://brew.sh/index_ja.html
   ↓
   /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 アップデート
  brew update

#pyenv-virtualenvインストール

$ brew install pyenv-virtualenv

 

$ vi ~/.bash_profile

に以下を追記

export PYENV_ROOT="$HOME/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
  export PATH="$PATH:$HOME/.pyenv/bin"
  eval "$(pyenv init -)"
  eval "$(pyenv virtualenv-init -)"
fi

#pythonインストール

$ pyenv install anaconda3-5.0.1

#仮想環境作成
「tensorflow」

$ pyenv virtualenv anaconda3-5.0.1 tensorflow

#参考
https://qiita.com/uhooi/items/b2f3a121b2e9dac6a256
https://qiita.com/rabbit1013/items/1494cf345ff172c3b9cd

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?