I recently installed pyenv and attempted to install a version of python, according to a blog post. I ran some commands, but encountered an error and I am uncertain how to resolve.
$ pyenv install 3.6.6
python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.6.tar.xz...
-> https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz
error: failed to download Python-3.6.6.tar.xz
BUILD FAILED (OS X 10.12.6 using python-build 20180424)