brew install pyenv
brew install pyenv-virtualenv
brew install lzop
Add the following to .zshrc
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
Reinitialize shell,
source .zshrc
pyenv install 3.6.1
If the python build fails because of missing libraries install Xcode command line tools and try again.
xcode-select --install
pyenv virtualenv 3.6.1 cryptocoins
pyenv local 3.6.1
pyenv activate cryptocoins
pip install -r requirements.txt
If atom is used start from the command line in the project directory to be sure the virtual environment is recognized during the editing session.