4
3

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.

MacにPyenvを使ってAnacondaを入れる

Posted at

手順

  • pyenvをインストール
  • anacondaをインストール

参照

本家を読みましょう。

yyuu/pyenv@Github

pyenvをインストール

pyenvをインストール

brew install pyenv

.zshrcに追記

export PATH="$HOME/.pyenv/bin:$PATH"
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi

pythonをインストール

インストール対象を検索

pyenv install --list

インストール

pyenv install anaconda3-2.5.0

インストールされたことを確認

pyenv versions

globalに設定

pyenv global anaconda3-2.5.0

pythonのバージョンの確認

python --version
4
3
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
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?