Fresh Install Build Fails (VSC-521)
See original GitHub issueFresh Windows 10 Home install. Installed VS Code, VS_BuildTools (Was Needed for ESP_IDF Tools Install), Python 3.9.1, GIT version 2.30.0.windows.1 ESP_IDF Tools 2.3. Added all the Paths to System Environment Variables. I’m able to build (Hello_World) via CMD using idf.py build and flash my device. After adding the espressif IDF Extension and getting the orientation to pass I copied Hello_World to a new folder using the examples browser and tried building it but it fails. below is the output for the build errors. `> Executing task: cmake -G Ninja … <
– Project is not inside a git repository, or git repository has no commits; will not use ‘git describe’ to determine PROJECT_VER.
– Building ESP-IDF components for target esp32
– Checking Python dependencies…
The following Python requirements are not satisfied:
click>=7.0
pyserial>=3.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
gdbgui==0.13.2.0
pygdbmi<=0.9.0.2
kconfiglib==13.7.1
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
ecdsa>=0.16.0
esp-windows-curses; sys_platform == ‘win32’
To install the missing packages, please run “C:\ESP32\esp-idf\install.bat”
Diagnostic information:
IDF_PYTHON_ENV_PATH: .
Python interpreter used: C:\Python\Python39\python.exe
CMake Error at C:/ESP32/esp-idf/tools/cmake/build.cmake:272 (message):
Some Python dependencies must be installed. Check above message for
details.
Call Stack (most recent call first):
C:/ESP32/esp-idf/tools/cmake/build.cmake:398 (__build_check_python)
C:/ESP32/esp-idf/tools/cmake/project.cmake:396 (idf_build_process)
CMakeLists.txt:6 (project)
– Configuring incomplete, errors occurred!
See also “C:/ESP32/Projects/Blink/blink/build/CMakeFiles/CMakeOutput.log”.
The terminal process “C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja …” terminated with exit code: 1.`
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top GitHub Comments
@brainstorm the log gives you the issue, you have missing python packages in the virtual environment of
/Users/romanvg/.espressif/python_env/idf4.3_py3.9_env/bin/python
. If you do:/Users/romanvg/.espressif/python_env/idf4.3_py3.9_env/bin/python -m pip install /Users/romanvg/dev/esp-idf/requirements.txt
/Users/romanvg/.espressif/python_env/idf4.3_py3.9_env/bin/python -m pip install EXTENSION_PATH/requirements.txt
/Users/romanvg/.espressif/python_env/idf4.3_py3.9_env/bin/python -m pip install EXTENSION_PATH/esp_debug_adapter/requirements.txt
where EXTENSION_PATH might look like
/Users/romanvg/.vscode/extensions/espressif.esp-idf-extension-VERSION
IF you install ESP-IDF Tools with the extension wizard, this is done for you automatically. If you installed other way then extension and debug adapter requirements will be missing, as explained in SETUP
Closing this, since the original issue is fixed for @jscott304
Not sure about brainstorms issue but after getting the latest update for VS Code ESPRESSIF it is now working. There must have been an issue that was fixed with the update. Thanks,