简体   繁体   中英

idf.py is not working in linux virtual machine

I have been trying to follow this tutorial https://github.com/espressif/esp-idf/tree/c69f0ec/examples/peripherals/twai/twai_self_test

and I used the following link to setup the working elements https://docs.espressif.com/projects/esp-idf/en/release-v3.3/get-started-cmake/index.html#step-1-set-up-toolchain

but i keep getting this error messages when I write the command

command

idf.py set-target {esp32s2}

error messages:

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

From what i see, the "gdbgui" module has not been installed for python 2.

Can you try installing gdbgui with the command :

python2.7 -m pip install gdbgui==0.13.2.0

and try again ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM