解决 ESP-IDF 环境中 'cryptography' 包缺失问题

在 Ubuntu 系统上设置 ESP-IDF 开发环境时,您可能会遇到以下错误信息:

root@ubuntu-pc:~/esp-idf# . ./export.sh
Detecting the Python interpreter
Checking 'python' ...
Python 3.6.9
'python' has been detected
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-2021r2-patch5-8.4.0.
Not using an unsupported version of tool xtensa-esp32s2-elf found in PATH: esp-2021r2-patch5-8.4.0.
Not using an unsupported version of tool esp32ulp-elf found in PATH: 2.35.
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20230419.
Checking if Python packages are up to date...
The following Python requirements are not satisfied:
cryptography>=2.1.4,<35
To install the missing packages, please run '/root/esp-idf/install.sh'

此错误信息表明缺少 'cryptography' 包的依赖。要解决此问题,请运行以下命令安装缺失的包:

/root/esp-idf/install.sh

运行此命令后,将安装所需的 Python 包,以满足 ESP-IDF 的要求。

解决 ESP-IDF 环境中 'cryptography' 包缺失问题

原文地址: https://www.cveoy.top/t/topic/W1A 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录