乐鑫技术交流
直播中

李霞

7年用户 1230经验值
私信 关注
[问答]

Eclipse安装ESP-IDF,单击Install Tools后报错怎么解决?

在  Eclipse 安装 ESP-IDF 工具

单击Install Tools 后  出现如下问题  

执行 F:PythonPython38python.exe F:ESP32_IDFesp-idf-4.2.2toolsidf_tools.py install-python-env

fatal: not a git repository (or any of the parent directories): .git

Processing f:esp32_idfesp-idf-4.2.2toolskconfig_newesp-windows-curses

  DEPRECAtiON: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.

   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.

Requirement already satisfied: setuptools>=21 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 4)) (57.1.0)

Requirement already satisfied: click>=5.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 8)) (8.0.1)

Requirement already satisfied: pyserial>=3.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 9)) (3.5)

Requirement already satisfied: future>=0.15.2 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 10)) (0.18.2)

Requirement already satisfied: cryptography>=2.1.4 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 11)) (3.4.7)

Requirement already satisfied: pyparsing<2.4.0,>=2.0.3 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 12)) (2.3.1)

Requirement already satisfied: pyelftools>=0.22 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 13)) (0.27)

Requirement already satisfied: gdbgui==0.13.2.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (0.13.2.0)

Requirement already satisfied: pygdbmi<=0.9.0.2 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 18)) (0.9.0.2)

Requirement already satisfied: python-socketio<5 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 21)) (4.6.1)

Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 24)) (1.5.4)

Requirement already satisfied: bitstring>=3.1.6 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 25)) (3.1.9)

Requirement already satisfied: ecdsa>=0.16.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from -r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 26)) (0.17.0)

Requirement already satisfied: windows-curses in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from esp-windows-curses==0.1->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 32)) (2.2.0)

Requirement already satisfied: Flask-SocketIO<3.0,>=2.9 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (2.9.6)

Requirement already satisfied: Pygments<3.0,>=2.2.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (2.9.0)

Requirement already satisfied: Flask-Compress<2.0,>=1.4.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (1.10.1)

Requirement already satisfied: gevent<2.0,>=1.2.2 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (1.5.0)

Requirement already satisfied: Flask<1.0,>=0.12.2 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (0.12.5)

Requirement already satisfied: colorama in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from click>=5.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 8)) (0.4.4)

Requirement already satisfied: cffi>=1.12 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from cryptography>=2.1.4->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 11)) (1.14.6)

Requirement already satisfied: six>=1.9.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from python-socketio<5->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 21)) (1.16.0)

Requirement already satisfied: python-engineio<4,>=3.13.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from python-socketio<5->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 21)) (3.14.2)

Requirement already satisfied: pycparser in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from cffi>=1.12->cryptography>=2.1.4->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 11)) (2.20)

Requirement already satisfied: Werkzeug<1.0,>=0.7 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (0.16.1)

Requirement already satisfied: itsdangerous>=0.21 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (2.0.1)

Requirement already satisfied: Jinja2>=2.4 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (3.0.1)

Requirement already satisfied: brotli in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from Flask-Compress<2.0,>=1.4.0->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (1.0.9)

Requirement already satisfied: greenlet>=0.4.14 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from gevent<2.0,>=1.2.2->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (1.1.0)

Requirement already satisfied: MarkupSafe>=2.0 in c:usersxxxx.espressifpython_envidf4.2_py3.8_envlibsite-packages (from Jinja2>=2.4->Flask<1.0,>=0.12.2->gdbgui==0.13.2.0->-r F:ESP32_IDFesp-idf-4.2.2requirements.txt (line 15)) (2.0.1)

Building wheels for collected packages: esp-windows-curses

  Building wheel for esp-windows-curses (setup.py): started

  Building wheel for esp-windows-curses (setup.py): finished with status 'done'

  Created wheel for esp-windows-curses: filename=esp_windows_curses-0.1-py3-none-any.whl size=1170 sha256=d829542743562a2ff4072c882163c038c20e7840b0fbc5087178733154adf9a4

  Stored in directory: c:usersxxxxappdatalocalpipcachewheels7176e003d7cb8a74a5968d2c69845d0e954127a4d6284da34e8601

Successfully built esp-windows-curses

Installing collected packages: esp-windows-curses

  Attempting uninstall: esp-windows-curses

    Found existing installation: esp-windows-curses 0.1

    Uninstalling esp-windows-curses-0.1:

      Successfully uninstalled esp-windows-curses-0.1

Successfully installed esp-windows-curses-0.1

WARNING: Git describe was unsuccessul: Command '['git', 'describe']' returned non-zero exit status 128.

Installing Python packages from F:ESP32_IDFesp-idf-4.2.2requirements.txt



执行 F:PythonPython38python.exe F:ESP32_IDFesp-idf-4.2.2toolsidf_tools.py export --format=key-value

fatal: not a git repository (or any of the parent directories): .git

WARNING: Git describe was unsuccessul: Command '['git', 'describe']' returned non-zero exit status 128.

OPENOCD_SCRIPTS=C:Usersxxxxx.espressiftoolsopenocd-esp32v0.10.0-esp32-20200709openocd-esp32shareopenocdscripts

IDF_CCACHE_ENABLE=1

IDF_PYTHON_ENV_PATH=C:Usersxxxxx.espressifpython_envidf4.2_py3.8_env

PATH=C:Usersxxxxx.espressiftoolsxtensa-esp32-elfesp-2020r3-8.4.0xtensa-esp32-elfbin;C:Usersxxxxx.espressiftoolsxtensa-esp32s2-elfesp-2020r3-8.4.0xtensa-esp32s2-elfbin;C:Usersxxxx.espressiftoolsesp32ulp-elf2.28.51-esp-20191205esp32ulp-elf-binutilsbin;C:Usersxxxx.espressiftoolsesp32s2ulp-elf2.28.51-esp-20191205esp32s2ulp-elf-binutilsbin;C:Usersxxxx.espressiftoolscmake3.16.4bin;C:Usersxxxx.espressiftoolsopenocd-esp32v0.10.0-esp32-20200709openocd-esp32bin;C:Usersxxxx.espressiftoolsninja1.10.0;C:Usersxxxx.espressiftoolsidf-exe1.0.1;C:Usersxxxx.espressiftoolsccache3.7;C:Usersxxxx.espressiftoolsdfu-util.9dfu-util-0.9-win64;C:Usersxxxx.espressifpython_envidf4.2_py3.8_envScripts;F:ESP32_IDFesp-idf-4.2.2tools;%PATH%

配置的 CDT 构建环境变量。请检查 "偏好设置" > "C/C++" > "构建" > "环境"

配置的 CMake 工具链。请检查 "偏好设置" > "C/C++" > "CMake"

更多回帖

发帖
×
20
完善资料,
赚取积分