python3.6インストール

pyenvのインストール

$ 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

pythonインストール

$ pip install locustio
$ pyenv install 3.6.0
$ pyenv global 3.6.0
$ pyenv rehash
$ python --version