编译 ESP-AT 工程 有问题

Moderator: ESP_XCGuang

a set of sine waves
Posts: 56
Joined: Fri Mar 11, 2022 3:46 am

编译 ESP-AT 工程 有问题

Postby a set of sine waves » Wed Jul 13, 2022 9:30 am

你好,我按照“编译 ESP-AT 工程”步骤操作时候,走到第三步:安装环境,运行python build.py install命令提示符,显示
C:\Espressif\tools\idf-python\3.8.7\python.exe: can't open file 'build.py': [Errno 2] No such file or directory

请问这个是啥意思呢,怎么解决?
截图已上传附近,谢谢!
Attachments
5.PNG
5.PNG (8.54 KiB) Viewed 6441 times

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: 编译 ESP-AT 工程 有问题

Postby ESP_Sun » Wed Jul 13, 2022 9:39 am

需要切换到 esp-at 目录下执行 python build.py install

a set of sine waves
Posts: 56
Joined: Fri Mar 11, 2022 3:46 am

Re: 编译 ESP-AT 工程 有问题

Postby a set of sine waves » Thu Jul 14, 2022 3:29 am

切换到esp-at目录下执行命令python build.py install

出现错误ERROR: This script was called from a virtual environment, can not create a virtual environment again
A fatal error occurred: set up ESP-IDF python-env failed

请问这个应该怎么解决呢?

a set of sine waves
Posts: 56
Joined: Fri Mar 11, 2022 3:46 am

Re: 编译 ESP-AT 工程 有问题

Postby a set of sine waves » Thu Jul 14, 2022 9:31 am

你好,上面错误的截图放附件里面了。谢谢!
Attachments
0.png
0.png (16.97 KiB) Viewed 6368 times

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: 编译 ESP-AT 工程 有问题

Postby ESP_Sun » Thu Jul 14, 2022 12:23 pm

搭建 AT 的编译环境的话,首先需要把 IDF 的编译环境搭建好,至少能跑通 hello demo 哈,AT 好像才支持到 IDF 4.3 哈

a set of sine waves
Posts: 56
Joined: Fri Mar 11, 2022 3:46 am

Re: 编译 ESP-AT 工程 有问题

Postby a set of sine waves » Tue Jul 19, 2022 6:06 am

好的,问题已解决

lo_1024
Posts: 2
Joined: Fri Jul 29, 2022 12:42 am

Re: 编译 ESP-AT 工程 有问题

Postby lo_1024 » Fri Jul 29, 2022 7:01 am

您好,这个怎么解决的,我也碰到这个问题了

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: 编译 ESP-AT 工程 有问题

Postby esp-at » Mon Aug 01, 2022 1:53 am

请按照编译文档 https://docs.espressif.com/projects/esp ... le_it.html
,搭建 ESP-IDF CMD 4.3 的编译环境,不是 ESP-IDF CMD 4.4 的。

a set of sine waves
Posts: 56
Joined: Fri Mar 11, 2022 3:46 am

Re: 编译 ESP-AT 工程 有问题

Postby a set of sine waves » Tue Aug 02, 2022 2:13 am

要用IDF4.3,安装最新的IDF4.4就有问题

Who is online

Users browsing this forum: No registered users and 74 guests