Page 1 of 1

ESP-IDF VSCode installing error

Posted: Sun Feb 27, 2022 11:14 am
by mm_1993
Hi
before it I had idf ver 4.3
then I delete All file and clone master repo from github
so installing is ok I test it in offline and online mode and I Can build and compile sample in terminal
but when I want to config VSCode idf extension it's impossible !!!!!
I try different way from youtube or other web site and even downgrade idf extension to 1.1.0 for installing esp-idf so nothing work
in installing proccess I have different error

like :
---
Command failed: C:\Program Files\Python39\python.exe c:\ESP\esp-idf\tools\idf_tools.py install-python-env
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
---

At level 0 expected 1 entry, got 5

---

and one warning:

The 'esp-idf' repository has 22 submodules which won't be opened automatically. You can still open each one individually by opening a file within.

---

I dont know What should I do
anyone can help ??

Re: ESP-IDF VSCode installing error

Posted: Wed Mar 02, 2022 8:35 am
by Remyhx
The latest espidf extension for vscode seems to be pretty buggy. At the end i solved it by doing a clean install and change the requirements file (added the .txt) and it worked. If you google around you find some solutions.