問題:
- 使用的架構版本
ESP-IDF V4.2
- 使用的python版本:
Python-3.8.0
- ESP32使用
編譯報錯:make
The following Python requirements are not satisfied:
gdbgui==0.13.2.0
pygdbmi<=0.9.0.2
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
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/MT7628/openwrt-hiwooya/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/:/home/pjw/ESP32/esp-idf/tools:/home/pjw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin:/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/.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”,由“all” 需求。 停止。
解決:
使用以下方法均無效,總是有不同的報錯,各種包的版本不對。
【問題解決】ESP32報錯:ERROR: Could not find a version that satisfies the requirement
ESP32執行make menuconfig報錯The following Python requirements are not satisfied:問題解決
最終換用
ESP-IDF V4.0
、
ESP-IDF V4.1
版本都不會報錯。
在另一台電腦上能使用
ESP-IDF V4.2
版本,暫時沒能找出差別
=20210509更新=================================================================
使用的
python3.8.0
版本,總是遇到各種python包版本不對問題。
問題來自我根據 【Linux】pip國内源配置,pip速度起飛(“.pip/pip.conf” E212: Cannot open file for writing問題解決) 更換了pip源,找不到對應版本的軟體包了。
最終問題解決辦法:
- 删除之前新增的配置檔案
。~/.pip/pip.conf
- 在
下執行esp-idf
./install.sh . ./export.sh
- 再次安裝python包環境就會從原來的源擷取,就不會有問題了。