【发布时间】:2021-10-02 07:53:52
【问题描述】:
我一直在努力学习这个教程https://github.com/espressif/esp-idf/tree/c69f0ec/examples/peripherals/twai/twai_self_test
我使用以下链接设置工作元素https://docs.espressif.com/projects/esp-idf/en/release-v3.3/get-started-cmake/index.html#step-1-set-up-toolchain
但我在编写命令时不断收到此错误消息
命令
idf.py set-target {esp32s2}
错误信息:
WARNING: Support for Python 2 is deprecated and will be removed in future versions.
The following Python requirements are not satisfied:
gdbgui==0.13.2.0
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/student/esp/esp-idf/tools:/home/student/esp/esp-idf/tools:/home/student/esp/esp-idf/tools:/home/student/esp/esp-idf/tools:/home/student/esp/esp-idf/tools:/home/student/esp/esp-idf/tools:/home/student/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
【问题讨论】:
-
错误信息有什么不清楚的地方?你试过用 Python 3 吗?
-
我尝试了多种解决方案来修复它,但它不起作用
-
IDF 版本 3.3 不再推荐用于开发,AFAIK。你为什么用这个旧版本?可以换一个新的吗?当前版本 4.3 是基于 python3 构建的,问题应该更少。
标签: python linux python-2.7 terminal