Closed OW1TY2 closed 5 months ago
Hi there, it seems there is an issue with your virtual env packages missing some packages.
I would recommend to delete C:\Espressif\python_env\idf5.1_py3.11_env
and try setup again.
Hi there, it seems there is an issue with your virtual env packages missing some packages.
I would recommend to delete
C:\Espressif\python_env\idf5.1_py3.11_env
and try setup again.
Now the error message ""C:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)" pop up when I tried to install from local IDF and download from Github
yet i have already installed pip
Seems that the embed python from local IDF doesn't have pip for some reason. Pip might exist in a different location in your setup. Could you make sure to either delete C:\Espressif\tools\idf-python (to redownload it) or install pip in it ?
Error: spawn C:/Espressif/python_env/idf5.2_py3.11_env/Scripts/python.exe ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn C:/Espressif/python_env/idf5.2_py3.11_env/Scripts/python.exe', path: 'C:/Espressif/python_env/idf5.2_py3.11_env/Scripts/python.exe', spawnargs: [ 'C:\\Espressif\\frameworks\\esp-idf-v5.2.1\\tools\\idf.py', '--list-targets' ] }
Now this error pop up
Could you get the latest doctor command output ?
`
You can see that Access to Virtual env Python Path (idf.pythonBinPath) false
meaning that C:/Espressif/python_env/idf5.2_py3.11_env/Scripts/python.exe
might not exist or is not accessible.
problem resolved after reinstall, thank you so much!
OS
Windows
Operating System version
Windows 11
Visual Studio Code version
1.90.1
ESP-IDF version
5.1.4
Python version
3.12.4
Doctor command output
VCC-GND ESP32-S3-WROOM-1U-N16R8 dev board, connecting a LCD module and a SHTC3 sensor. esp-idf doctor.txt
Extension
esp_idf_vsc_ext.log
Description
When I try to configure the device target, the terminal pop up some error message below and I cannot configure to my target ESP32-S3
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide