问题:
- 使用的框架版本
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包环境就会从原来的源获取,就不会有问题了。