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.
Fail to install ESP32-IDF
-
- Posts: 4
- Joined: Thu Nov 25, 2021 2:07 pm
Re: Fail to install ESP32-IDF
Thanks for your reply.
I have try the master(latest) and v4.3.1 on https://docs.espressif.com/, both give me same error.
Also tried the some of the suggestions in https://stackoverflow.com/a/43855394/9309705, but still got the same
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
I have try the master(latest) and v4.3.1 on https://docs.espressif.com/, both give me same error.
Also tried the some of the suggestions in https://stackoverflow.com/a/43855394/9309705, but still got the same
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
-
- Posts: 4
- Joined: Thu Nov 25, 2021 2:07 pm
Re: Fail to install ESP32-IDF
Used a Window10 machine and make it work with the hello world program.
But IDF Version 4.3.1 doesn't work for ESP32s3, need to install version 4.4.
Now, coming back to my Mac and try to install ESP32-IDF...........
But IDF Version 4.3.1 doesn't work for ESP32s3, need to install version 4.4.
Now, coming back to my Mac and try to install ESP32-IDF...........
-
- Posts: 4
- Joined: Thu Nov 25, 2021 2:07 pm
Re: Fail to install ESP32-IDF
Please help.
Still face download error on Mac. The error msg :
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://github.com/espressif/crosstool- ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Still face download error on Mac. The error msg :
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://github.com/espressif/crosstool- ... cos.tar.gz to /Users/sw/.espressif/dist/xtensa-esp32s3-elf-gcc8_4_0-esp-2021r2-macos.tar.gz.tmp
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 160 guests