VS-Code Tool Installation Error.

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

VS-Code Tool Installation Error.

Postby DutchOrange » Tue Dec 29, 2020 11:52 am

So I set up the ESP-IDF but when I Try to connect it to VS-Code in the Tool setup I get this Error

Code: Select all

Checking ESP-IDF Python requirements using C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\Scripts\python.exe
Python requirements from e:\Desktop\esp-idf\requirements.txt are satisfied.

The following Python requirements are not satisfied:
psutil>=5.5.1
pygdbmi<=0.9.0.2
requests>=2.21.0
typing>=3.6.6
xmlrunner>=1.7.7
To install the missing packages, please run "e:\Desktop\esp-idf\install.bat"
Command failed: "C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\Scripts\python.exe" "e:\Desktop\esp-idf\tools\check_python_dependencies.py" -r "c:\Users\User-Pc\.vscode\extensions\espressif.esp-idf-extension-0.5.1\esp_debug_adapter\requirements.txt"
Here is what it looks like:
Image

And what must go in "IDF_CCACHE_ENABLE" ? Cant Find what it means.
Attachments
VS-Error.JPG
VS-Error.JPG (102.38 KiB) Viewed 3026 times

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: VS-Code Tool Installation Error.

Postby ESP_bignacio » Wed Jan 06, 2021 7:08 am

Have you installed the extension python packages as explained in SETUP doc ? IF you look closely to log output, the check_python_requirements.py fails when checking esp_debug_adapter\requirements.txt

Try
C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install -r c:\Users\User-Pc\.vscode\extensions\espressif.esp-idf-extension-0.5.1\requirements.txt
C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\Scripts\python.exe -m pip install -r c:\Users\User-Pc\.vscode\extensions\espressif.esp-idf-extension-0.5.1\esp_debug_adapter\requirements.txt

Who is online

Users browsing this forum: No registered users and 14 guests