IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
Posted: Tue Nov 08, 2022 6:39 am
Im am using the universal online installer for IDF tools from : https://dl.espressif.com/dl/esp-idf/?idf=4.4
Version: 2.16
The installation exits with error code 1 as a result of the python component of the installation failing. Here is the snippet from the installation logs:
"WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)'))': /simple/click/"
When performing any type of Python installation or update, I cannot simply run the "py -m install x" command and need to instead run the command with added paramters as follows: "py -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org x"
I believe this same fix would ensure that the IDF tools installation would complete succesfully. Is there a way to add these paratmers to the idf-tools.py script that is running these installs/updates?
Version: 2.16
The installation exits with error code 1 as a result of the python component of the installation failing. Here is the snippet from the installation logs:
"WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)'))': /simple/click/"
When performing any type of Python installation or update, I cannot simply run the "py -m install x" command and need to instead run the command with added paramters as follows: "py -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org x"
I believe this same fix would ensure that the IDF tools installation would complete succesfully. Is there a way to add these paratmers to the idf-tools.py script that is running these installs/updates?