docs: provide tips for Mac users

This commit is contained in:
wangziyan 2022-07-26 15:29:44 +08:00
parent b823831a26
commit b09b3bd5b1
2 changed files with 13 additions and 0 deletions

View File

@ -163,6 +163,12 @@ or with Fish shell
cd ~/esp/esp-idf
./install.fish all
.. note::
For macOS users, if an error like this is shown during any step::
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
You may run ``Install Certificates.command`` in the Python folder of your computer to install certificates. For details, see `Download Error While Installing ESP-IDF Tools <https://github.com/espressif/esp-idf/issues/4775>`_.
Alternative File Downloads
~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -163,6 +163,13 @@ ESP-IDF 将下载至 ``~/esp/esp-idf``。
cd ~/esp/esp-idf
./install.fish all
.. note::
对于 macOS 用户,如您在上述任何步骤中遇到以下错误::
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
可运行您电脑 Python 文件夹中的 ``Install Certificates.command`` 安装证书。了解更多信息,请参考 `安装 ESP-IDF 工具时出现的下载错误 <https://github.com/espressif/esp-idf/issues/4775>`_
下载工具备选方案
~~~~~~~~~~~~~~~~~~~~~~~~~~