esp32 python开发环境搭建_eclipse esp32开发环境搭建

本文介绍了在搭建ESP32的Python开发环境时遇到的编译问题,包括CMake错误提示缺少Python依赖。解决方法涉及设置环境变量ESP_IDF_PATH,修改requirements.txt中pyparsing的版本,并通过pip安装所需库。成功解决后,可以在Eclipse中进行编译,标志着开发环境搭建完成。
摘要由CSDN通过智能技术生成

安装方法基本是按照官网提供的方法来操作

https://github.com/espressif/idf-eclipse-plugin#GettingStarted

但是官网的方法安装之后还是不能编译成功的,第一次编译会出现一下问题

问题1:

Building in: E:\eclipse-workspace\helloworlk\build

cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=E:\esp\esp-idf\tools\cmake\toolchain-esp32.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DIDF_TARGET=esp32 E:\eclipse-workspace\helloworlk

-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.

-- Project version: 1

-- Building ESP-IDF components for target esp32

-- Checking Python dependencies...

CMake Error at E:/esp/esp-idf/tools/cmake/build.cmake:271 (message):

Some Python dependencies must be installed. Check above message for

details.

Call Stack (most recent call first):

E:/esp/esp-idf/tools/cmake/build.cmake:3

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值