ESP-IDF Installation does not finish on windows 11

yamachan
Posts: 1
Joined: Fri Apr 08, 2022 8:42 am

ESP-IDF Installation does not finish on windows 11

Postby yamachan » Fri Apr 08, 2022 8:53 am

Hello,

I'm trying installation ESP-IDF on windows 11 for vs code IDE, but it stop in the middle.
Please check the following here, the error message in the console.
Whan do I do about this problem ?

[env]
OS:windows 11 64bit
IDE:VS Code 1.66.1

------------------error message ------------

Python 3.8.7
pip 20.3.3 from C:\Users\kazuk\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages\pip (python 3.8)

Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Requirement already satisfied: setuptools>=21 in c:\users\kazuk\.espressif\python_env\idf4.4_py3.8_env\lib\site-packages (from -r C:\Users\kazuk\esp\esp-idf\requirements.txt (line 4)) (51.3.3)
Could not fetch URL https://pypi.org/simple/click/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/click/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))) - skipping
Could not fetch URL https://dl.espressif.com/pypi/click/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='dl.espressif.com', port=443): Max retries exceeded with url: /pypi/click/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))) - skipping
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))) - skipping
Could not fetch URL https://dl.espressif.com/pypi/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='dl.espressif.com', port=443): Max retries exceeded with url: /pypi/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))) - skipping
Installing Python packages from C:\Users\kazuk\esp\esp-idf\requirements.txt
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: self signed certificate in certificate chain (_ssl.c:1125)'))': /simple/click/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /simple/click/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /simple/click/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /simple/click/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /simple/click/
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: self signed certificate in certificate chain (_ssl.c:1125)'))': /pypi/click/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /pypi/click/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /pypi/click/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /pypi/click/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)'))': /pypi/click/
ERROR: Could not find a version that satisfies the requirement click>=7.0
ERROR: No matching distribution found for click>=7.0
Traceback (most recent call last):
File "C:\Users\kazuk\esp\esp-idf\tools\idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "C:\Users\kazuk\esp\esp-idf\tools\idf_tools.py", line 1824, in main
action_func(args)
File "C:\Users\kazuk\esp\esp-idf\tools\idf_tools.py", line 1545, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['C:\\Users\\kazuk\\.espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'C:\\Users\\kazuk\\esp\\esp-idf\\requirements.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.

ESP_kondalkolipaka
Posts: 161
Joined: Wed Jul 17, 2019 5:26 pm

Re: ESP-IDF Installation does not finish on windows 11

Postby ESP_kondalkolipaka » Fri Apr 08, 2022 10:00 am

Hello,

This is something to do with the SLL certificates/proxy configuration.

Could you check this https://stackoverflow.com/questions/499 ... ect=1&lq=1

Thanks

Who is online

Users browsing this forum: No registered users and 10 guests