TLDR
I cannot install 3.6.10 using pyenv-win and can install 3.6.8 only ref.
Though I cannot get it become global python version using pyenv global ref
Details
I installed pyenv-win as guided here and failed as below output. As you know the fix, please share.
p.s. I also post this on pyenv-win github home here
:: [ERROR] :: 404 :: file not found
My full command and output as below
PS C:\Users\namgivu> pyenv install 3.6.10
:: [Info] :: Mirror: https://www.python.org/ftp/python
:: [Downloading] :: 3.6.10 ...
:: [Downloading] :: From https://www.python.org/ftp/python/3.6.10/python-3.6.10.exe
:: [Downloading] :: To C:\Users\namgivu\.pyenv\pyenv-win\install_cache\python-3.6.10.exe
:: [ERROR] :: 404 :: file not found
Retried with 3.6.8 and can succeed; though CANNOT pyenv global set it to have my windows os to use this 3.6.8 globally instead of previously-installed 3.7.7. This issue also be discussed here
PS C:\Users\namgivu> pyenv install 3.6.8
:: [Info] :: Mirror: https://www.python.org/ftp/python
:: [Downloading] :: 3.6.8 ...
:: [Downloading] :: From https://www.python.org/ftp/python/3.6.8/python-3.6.8.exe
:: [Downloading] :: To C:\Users\namgivu\.pyenv\pyenv-win\install_cache\python-3.6.8.exe
:: [Installing] :: 3.6.8 ...
:: [Info] :: completed! 3.6.8
PS C:\Users\namgivu> pyenv global 3.6.8
PS C:\Users\namgivu> python -V
Python 3.7.7
Python 3.6.9 and 3.6.10 was released as source only - there is no compiled version for Windows.
You may wish to compile it yourself, but before you do, please read the good advice in this related thread.
Side note for
pyenv globalcommandAfter
pyenv install, we need to callpyenv rehashbefore setting it global/local as discussed here