Skip to content

esp32平台无法编译通过 #549

@wang19850115

Description

@wang19850115

(tos) D:\tuya\TuyaOpen\apps\tuya.ai\your_chat_bot> tos.py build
[INFO]: Running tos.py ...
[INFO]: Downloading submoudules ...
[INFO]: >>> subprocess >>>
cd D:\tuya\TuyaOpen && git submodule update --init
[NOTE]: Download submoudules successfully.
[INFO]: Initialing using.config ...
[INFO]: Platform [ESP32] is exists.
[INFO]: Platform [ESP32] downloaded successfully.
[INFO]: Preparing platform [ESP32] ...
[INFO]: >>> subprocess >>>
cd D:\tuya\TuyaOpen\platform\ESP32 && python platform_prepare.py esp32s3
target: esp32s3
old_target: esp32s3
No need prepare.
[INFO]: Platform [ESP32] prepared successfully.
[INFO]: Build setup ...
[INFO]: >>> subprocess >>>
cd D:\tuya\TuyaOpen\platform\ESP32 && python build_setup.py your_chat_bot ESP32 base esp32s3
project_name: $your_chat_bot
platform: ESP32
framework: base
chip: esp32s3
old_target: esp32s3
No need prepare.
delete: .target
delete: .app
delete: sdkconfig
delete: sdkconfig.old
delete: sdkconfig.defaults
delete: build
do subprocess: D:\tuya\TuyaOpen\platform\ESP32\esp-idf\export.bat && cd D:\tuya\TuyaOpen\platform\ESP32\tuya_open_sdk && idf.py set-target esp32s3
Activating ESP-IDF 5.4

  • Checking python version ... 3.9.11
  • Checking python dependencies ... FAILED
    error: Command "D:\tuya\TuyaOpen\platform\ESP32.espressif\python_env\idf5.4_py3.9_env\Scripts\python.exe D:\tuya\TuyaOpen\platform\ESP32\esp-idf\tools\idf_tools.py check-python-dependencies" failed with error code 4294967295
    The following Python requirements are not satisfied:
    Error while checking requirement 'esp-idf-monitor<2,>=1.5'. Package was not found and is required by the application: ruamel.yaml
    To install the missing packages, please run "install.bat"
    Diagnostic information:
    IDF_PYTHON_ENV_PATH: D:\tuya\TuyaOpen\platform\ESP32.espressif\python_env\idf5.4_py3.9_env
    Python interpreter used: D:\tuya\TuyaOpen\platform\ESP32.espressif\python_env\idf5.4_py3.9_env\Scripts\python.exe
    Constraint file: D:\tuya\TuyaOpen\platform\ESP32.espressif\espidf.constraints.v5.4.txt
    Requirement files:
  • D:\tuya\TuyaOpen\platform\ESP32\esp-idf\tools\requirements\requirements.core.txt
    Python being checked: D:\tuya\TuyaOpen\platform\ESP32.espressif\python_env\idf5.4_py3.9_env\Scripts\python.exe

ERROR: Activation script failed
To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.
'idf.py' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Error: set-target failed.
[ERROR]: Build setup error.
(tos) D:\tuya\TuyaOpen\apps\tuya.ai\your_chat_bot>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions