Skip to content

PIP

Commands

pip list
pip install

Command not found after pip install

Add the following to your .rc file (e.g. ~/.bashrc or ~/.zshrc):

PATH="/Users/bluer/Library/Python/3.7/lib/python/site-packages:${PATH}"
export PATH

pyenv

An equivalent of n or nvm for Node.js. Super useful guide to using it here.

Using pyenv

pyenv install 3.9.0
pyenv global 3.9.0