bug:Environment variable PYTHON_BUILD_MIRROR_URL doesn't work.
Describe the bug I changed variable PYTHON_BUILD_MIRROR_URL to https://npm.taobao.org/mirrors/python/,but it doesn't take effect。
To Reproduce I added a user environment variable PYTHON_BUILD_MIRROR_URL。It is https://npm.taobao.org/mirrors/python/。 After,I open cmd and type "pyenv install 2.7.6" to execute. cmd show below:
:: [Info] :: Mirror: https://npm.taobao.org/mirrors/python/
:: [Downloading] :: 2.7.6 ...
:: [Downloading] :: From https://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
:: [Downloading] :: To C:\Users\lejie\.pyenv\pyenv-win\install_cache\python-2.7.6.amd64.msi
Progress will block because China to foreign country network speed is very slow. And,we can see 3 line.The mirror address still use https://www.python.org/ftp/python/,but not https://npm.taobao.org/mirrors/python/。
Expected behavior 3 line should be "https://npm.taobao.org/mirrors/python/2.7.6/python-2.7.6.amd64.msi"
Screenshots

Desktop (please complete the following information):
- OS: windows10 1909。
- Pyenv is latest version in pip。It's 2.64.3.
Additional context Empty。
Maybe, you are supposed to try pyenv update first and wait for a moment!
Then the cached python version DB will be the latest edition of the mirror that you set.
See more, please type pyenv update --help.
WHERE to find the DB file: ~\.pyenv\pyenv-win\.versions_cache.xml
If it works, please let me know and I will close the issue. Thanks.
If it works, please let me know and I will close the issue. Thanks.
According to your method,The problem has been solved. The issue can close.Thanks for your help.
When I use after the update, there is the problem:
PS D:\bamboo\bamboo-server> pyenv install 3.6.8
:: [Info] :: Mirror: https://npm.taobao.org/mirrors/python/
pyenv-install: no definitions in local database
Please update the local database cache with `pyenv update'.
I hope you can help me in free time to see it. Thanks! @CodeMasterYi
When I use after the update, there is the problem:
PS D:\bamboo\bamboo-server> pyenv install 3.6.8 :: [Info] :: Mirror: https://npm.taobao.org/mirrors/python/ pyenv-install: no definitions in local database Please update the local database cache with `pyenv update'.I hope you can help me in free time to see it. Thanks! @CodeMasterYi
The current issue had been closed.
Maybe the author of the project will not notice your problem.
Maybe you should open a new issue.