2
4

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 1 year has passed since last update.

Macにanacondaをインストールする

Last updated at Posted at 2017-12-02

##概要
*Mac OS X 10.13 High Sierra
*homebrewはインストール済み
*pyenvを用いる

###pyenvインストール

homebrewを使う

$ brew update
$ brew install pyenv

パスを通す

$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
$ source ~/.bash_profile

###anacondaインストール

anacondaのバージョンを調べてインストール(執筆時点だと3-5.0.0が最新)

$ pyenv install -l | grep anaconda
$ pyenv install anaconda3-5.0.0

pythonコマンドでanacondaを使うようにする

$ pyenv global anaconda3-5.0.0
$ pyenv versions ### anacondaの横に * がついてればOK
2
4
1

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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?