【已解决】求助,Espressif-IDE编译报错
Posted: Sun Aug 20, 2023 9:22 am
大家好。我头一回使用Espressif-IDE,开始学习。我新建了工程,使用hello_world模版,编译时报错,是关于python的。错误如下:
C:\Espressif\frameworks\esp-idf-v5.0.2\tools\check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf5.0_py3.11_env
Python interpreter used: C:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/build.cmake:345 (message):
-- Configuring incomplete, errors occurred!
See also "D:/Prj_esp/test/test1/build/CMakeFiles/CMakeOutput.log".
Failed to run Python dependency check. Python: python, Error: -1
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/build.cmake:480 (__build_check_python)
C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:6 (project)
附件是完整的log。还请大家帮忙看看,这到底是怎么回事。谢谢了~~
C:\Espressif\frameworks\esp-idf-v5.0.2\tools\check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Espressif\python_env\idf5.0_py3.11_env
Python interpreter used: C:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/build.cmake:345 (message):
-- Configuring incomplete, errors occurred!
See also "D:/Prj_esp/test/test1/build/CMakeFiles/CMakeOutput.log".
Failed to run Python dependency check. Python: python, Error: -1
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/build.cmake:480 (__build_check_python)
C:/Espressif/frameworks/esp-idf-v5.0.2/tools/cmake/project.cmake:447 (idf_build_process)
CMakeLists.txt:6 (project)
附件是完整的log。还请大家帮忙看看,这到底是怎么回事。谢谢了~~