问题:
The following Python requirements are not satisfied:
click>=5.0
pyserial>=3.0
future>=0.15.2
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
Alternatively, you can run "/usr/bin/python -m pip install --user -r /home/pjw/ESP32/esp-idf/requirements.txt" for resolving the issue.
make: *** 没有规则可制作目标“check_python_dependencies”,由“menuconfig” 需求。 停止。
原因:
缺少python工具包
解决:
按照提示执行:(后面路径使用esp-idf
实际路径)
/usr/bin/python -m pip install --user -r /home/pjw/ESP32/esp-idf/requirements.txt
再次报错:
Toolchain path: /home/pjw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
The following Python requirements are not satisfied:
gdbgui==0.13.2.0
Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide
Diagnostic information:
IDF_PYTHON_ENV_PATH: (not set)
Python interpreter used: /usr/bin/python
Warning: python interpreter not running from IDF_PYTHON_ENV_PATH
PATH: /home/pjw/HarmonyOS/tools/node-v14.15.3-linux-x64/bin:/home/pjw/HarmonyOS/tools/gcc_riscv32/bin:/home/pjw/HarmonyOS/tools/ninja:/home/pjw/HarmonyOS/tools/gn:/home/pjw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin:/home/pjw/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin:/usr/local/arm/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin
make: *** 没有规则可制作目标“check_python_dependencies”,由“/home/pjw/ESP32/project/hello_world/build/include/config/auto.conf” 需求。 停止。
解决:
python -m pip install --user -r /home/pjw/ESP32/esp-idf/requirements.txt