-
Notifications
You must be signed in to change notification settings - Fork 334
Description
Is your feature request related to a problem? Please describe.
Today, I tried to set up a fresh ESP-IDF environment using the extension's 'Express' installation. As I'm in mainland China, I selected the 'Espressif' download server, expecting a fast and smooth process.
The first part was perfect; the ESP-IDF tools downloaded very quickly. My frustration is that the installation then failed when setting up the Python environment. It timed out with a ReadTimeoutError
while trying to download Python packages from the default global server (files.pythonhosted.org
). For users in mainland China, the connection to this global server is often slow, which frequently results in connection timeouts.
Describe the solution you'd like
When a user selects the 'Espressif' server during the Express setup, I would like the extension to automatically use the Espressif Python package mirror (https://dl.espressif.cn/pypi/
) for all Python package installations during the setup process.
This would make the 'Espressif server' option apply to the entire installation, ensuring a fast and successful setup from start to finish.
Describe alternatives you've considered
The current alternative is to manually configure my system's global pip
settings to point to a Chinese mirror before running the ESP-IDF extension setup.
This requires users to know about this problem in advance and perform extra steps outside of the extension. It defeats the purpose of a simple 'Express' setup.
Additional context
Here are screenshot of the error that occurs during the Python environment creation step:

