mac pyenv install
% git clone https://github.com/pyenv/pyenv.git ~/.pyenv Cloning into '/Users/m_fujii/.pyenv'... remote: Enumerating objects: 17716, done. remote: Total 17716 (delta 0), reused 0 (delta 0), pack-reused 17716 Receiving objects: 100% (17716/17716), 3.51 MiB | 2.61 MiB/s, done. Resolving deltas: 100% (12023/12023), done.
% echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zprofile % echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zprofile % echo 'eval "$(pyenv init -)"' >> ~/.zprofile
% tail .zprofile export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)"
参考にしたページ qiita.com