close
The Wayback Machine - https://web.archive.org/web/20211220122606/https://qiita.com/katzhide/items/527ef101d5067ee84416
3
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

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

手順

  • 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
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
3
Help us understand the problem. What are the problem?