Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Python Virtual Environment

There is more than one way to skin the cat:

Install pyenv+pyenv-virtualenv on MacOS

Install pyenv:

brew update
brew install pyenv
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile
echo 'eval "$(pyenv init -)"' >> ~/.zshrc

Install pyenv-virtualenv:

brew install pyenv-virtualenv
echo 'eval eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc

Create a Virtual Environment