question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fresh Install Build Fails (VSC-521)

See original GitHub issue

Fresh 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:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
brianignacio5commented, Jan 6, 2021

@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

1reaction
jscott304commented, Jan 6, 2021

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,

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug Report]: Build crashing on custom OpenOCD ... - GitHub
I'm having similar symptoms as #270, but my case is slightly different, I'll be thorough on this bug report... ... The error log...
Read more >
Washougal High School 2020-21 Course Guide
Students do not like the teacher. ○ Parents do not like the teacher. ○ Course/teacher is too hard, too much homework. ○ The...
Read more >
Anti-Bribery and Corruption Year in Review: 2018 - JD Supra
In an unprecedented move, the DOJ announced a new policy to make clear that the Department would be focusing on enforcement against Chinese...
Read more >
Does Cyberspace outdate Jurisdictional Defamation Laws?
Cyberspace produces friction when the law is implemented by domestic courts using. 'state-laws'. These laws are based on a 'physical presence' of an ......
Read more >
Wagner & Ors v Harbour Radio Pty Ltd & Ors [2018]
Wilson v Bauer Media Pty Ltd [2017] VSC 521, considered ... Failure to accept reasonable offer to make amends – section 18 ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found