Fail to install ESP32-IDF
Posted: Sat Dec 18, 2021 7:54 am
Hi, This is the first time I use Espressif product.
Was trying to install IDF on my MacBook Pro and got the following error:
MacBook-Pro-13:esp-idf sw$ ./install.sh esp32s3
Detecting the Python interpreter
Checking "python" ...
Checking "python3" ...
Python 3.10.0
"python3" has been detected
Installing ESP-IDF tools
Selected targets are: esp32, esp32c3, esp32s3, esp32s2
Installing tools: xtensa-esp32s3-elf, riscv32-esp-elf, esp32s2ulp-elf, openocd-esp32
Installing xtensa-esp32s3-elf@esp-2021r2-8.4.0
Using GitHub assets mirror for URL: https://github.com/espressif/crosstool- ... cos.tar.gz => https://dl.espressif.com/github_assets/ ... cos.tar.gz
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
ERROR: Failed to download, and retry count has expired
Traceback (most recent call last):
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1824, in main
action_func(args)
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1467, in action_install
tool_obj.download(tool_version)
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 720, in download
raise DownloadError()
__main__.DownloadError
MacBook-Pro-13:esp-idf sw$
The error message reported [SSL: CERTIFICATE_VERIFY_FAILED]. Please advice how to resolve this.
Many thanks.
Was trying to install IDF on my MacBook Pro and got the following error:
MacBook-Pro-13:esp-idf sw$ ./install.sh esp32s3
Detecting the Python interpreter
Checking "python" ...
Checking "python3" ...
Python 3.10.0
"python3" has been detected
Installing ESP-IDF tools
Selected targets are: esp32, esp32c3, esp32s3, esp32s2
Installing tools: xtensa-esp32s3-elf, riscv32-esp-elf, esp32s2ulp-elf, openocd-esp32
Installing xtensa-esp32s3-elf@esp-2021r2-8.4.0
Using GitHub assets mirror for URL: https://github.com/espressif/crosstool- ... cos.tar.gz => https://dl.espressif.com/github_assets/ ... cos.tar.gz
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Downloading xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
WARNING: Failed to download https://dl.espressif.com/github_assets/ ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
ERROR: Failed to download, and retry count has expired
Traceback (most recent call last):
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1824, in main
action_func(args)
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 1467, in action_install
tool_obj.download(tool_version)
File "/Users/sw/esp/esp-idf/tools/idf_tools.py", line 720, in download
raise DownloadError()
__main__.DownloadError
MacBook-Pro-13:esp-idf sw$
The error message reported [SSL: CERTIFICATE_VERIFY_FAILED]. Please advice how to resolve this.
Many thanks.