Page 1 of 1

VS-Code Tool Installation Error.

Posted: Tue Dec 29, 2020 11:52 am
by DutchOrange
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.

Re: VS-Code Tool Installation Error.

Posted: Wed Jan 06, 2021 7:08 am
by ESP_bignacio
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