问题
According to python.org, Python 3.6.1
was released at the end of March. But:
» pyenv install -l | grep 3\.6\.
3.6.0a1
3.6.0a3
3.6-dev
- Why is
Python 3.6.1
not yet available inpyenv
? - Where can I find documentation about the releases that
pyenv
supports? (when it was added, what is in progress, ...). The pyenv documentation does not give this information. - Is there a repository for Python releases supported by
pyenv
? (similar toPyPi
)
回答1:
If you installed pyenv via pyenv installer:
pyenv update
If you installed pyenv via Homebrew
brew upgrade pyenv
If you installed pyenv via Git:
cd $(pyenv root) && git pull
回答2:
I tried pyenv update
but that did not resolve the issue for me.
I had to brew update && brew upgrade pyenv
before doing pyenv install 3.6.1
来源:https://stackoverflow.com/questions/43993714/why-is-python-3-6-1-not-available-in-pyenv