I am upgrading to ESP-IDF 5.4.1. I use Windows 11 and the latest version of Visual Studio Code (VSC).
When I start configuring ESP-IDF within VSC, I get the following error:
"c:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)
The OUTPUT is (last lines):
idf-git-2.39.2-win64.zip progress: 99.99% (28522.73 / 28526.53) KB
idf-git-2.39.2-win64.zip progress: 100.00% (28525.51 / 28526.53) KB
idf-git-2.39.2-win64.zip progress: 100.00% (28526.53 / 28526.53) KB
Installing c:\Espressif\tools\idf-git\2.39.2 ...
Extracted c:\Espressif\tools\idf-git\2.39.2 ...
Using existing c:\Espressif\tools\idf-python\3.11.2
"c:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)
I have tried some hints, which I found by searching the net, but nothing solved my problem.
I have deinstalled and reinstalled both ESP-IDF version 5.4.1 and VSC, the problem remains.
Please, how do I solve this issue?
Regards,
Jorgen
ESP-IDF Extension for VSC - (ERROR INVALID PIP)
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: ESP-IDF Extension for VSC - (ERROR INVALID PIP)
Your problem doesn't seem to be with ESP-IDF or VS-CODE, but with the version of PIP."c:\Espressif\tools\idf-python\3.11.2\python.exe -m pip" is not valid. (ERROR_INVALID_PIP)
Try updating pip.
viewtopic.php?t=23976
Re: ESP-IDF Extension for VSC - (ERROR INVALID PIP)
Thank you for your suggestion.
I gave up. After uninstalling and reinstalling a number of times including python, I gave up.
I consulted ChatGPT and followed its instruction for uninstalling and cleaning up i.e. deleting files and various entries created by ESP-IDF or VS Code installations. Then I followed the approach describe by ChatGPT for installing ESP-IDF in VS Code. Voila, it works.
It would be helpful having some well proven procedures to follow when upgrading ESP-IDF to a new release.
Regards,
Jorgen
I gave up. After uninstalling and reinstalling a number of times including python, I gave up.
I consulted ChatGPT and followed its instruction for uninstalling and cleaning up i.e. deleting files and various entries created by ESP-IDF or VS Code installations. Then I followed the approach describe by ChatGPT for installing ESP-IDF in VS Code. Voila, it works.
It would be helpful having some well proven procedures to follow when upgrading ESP-IDF to a new release.
Regards,
Jorgen
Re: ESP-IDF Extension for VSC - (ERROR INVALID PIP)
Stuck on the same issue. Will hunt.
Update - got it installed!!!
As per above links, here is the solution that worked here:
Delete idf-git and the idf-python folder from the *:\Espressif\tools directory and try again。
Thank you for this advice!!
Update - got it installed!!!
As per above links, here is the solution that worked here:
Delete idf-git and the idf-python folder from the *:\Espressif\tools directory and try again。
Thank you for this advice!!
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], PerplexityBot and 3 guests