Install Python and Poetry on OS X

Last Updated: Aug 2020

Install pyenv and use that to install the latest versions of Python and Pip

brew install pyenv
pyenv install 3.8.2
pyenv global 3.8.2
pyenv rehash
pip install --upgrade pip

Then, install Poetry

pip install poetry

To work well with Visual Studio Code (HT: this issue), setup in-project virtualenvs for Poetry

poetry config true

After that, install every other Python dependency inside your Poetry project.

poetry new podcast-demo
cd podcast-demo
poetry add --dev pylint
poetry add podcastparser
poetry add opml