Hello to everyone reading my call for help.
Since days I am trying to setup Espressif IDF. Instread of coading I am struggling since days with paths and not found files....
Somehow I end up with similar but different trouble each time I install the Espressif extension.
I am running Windows10 (recently installed) in VMWare.
After trying all sorts of things I uninstalled
- visual studio code
- visual studio builder
- python
and deleted all the path variable as well as
- Users/GvT/.espressif
- Users/GvT/esp-idf
- Users/.vscode
- Users/AppData/Programs/Python
- Users/AppData/Programs/Microsoft/VSC...
So I should have a fairly cleaned up system...
Now I tried to install everything in the following order:
-> Visual Studio Code
-> Visual Studio Builder
-> Espressif esp-idf-tool-setup-online-2.9.exe
-> at the end of this installation I select open cmd und powershell
-> both shells execute, but no folder-locations are added to %path%
So I added all the folders listed in the command window manually to the environment variable path.
-> in the command window I execute install.bat, it runs and states that I can now run export.bat, what I did.
Opening Visual Studio Code I select the Espressif IDF extension and select install.
When complete I press F1 and select ESP-IDF: configure....
I now can choose
- Express
- Advanced
- Use existing...
I choose Existing and get a confirmation that everything worked alright.
I select CMD as default terminal.
Typing python --version I get:
no python found....
I choose to download it (even if it is installed unter .espressif/tools/...
Now I get the error that idf.py is not found, even if the path to python/scipts is within the environment path variable.
Some #inlclude files are also marked with squiggly lines, e.g freertos/FreerRTOS.h
When pressing compile I get an error:
ninja: error: loading 'build.ninja': the system cannot find the file specified.
in the VSC terminal I change folder to Users/GvT/ESP-IDF and type
pip install -r requirements.txt
=> now the requirements are installed.
the above mentioned ninja error persists...
==============================================================================
When I execute
Visual Studio Builder as administrator, path variable had been set.
PowerShell scripts are not permitted
===============================================================================
Is there an easier, safer way to install the Espressif IDF extension? Where am I missing the necessary click?
I hope someone can help me here, I am stuck!
Many greetings to all!
GvT
Problem installing Espressif IDF using VSC, VMWare & Windows 10
Re: Problem installing Espressif IDF using VSC, VMWare & Windows 10
Hi to everyone,
some more hours spent, trying to install everything using administrator rights... still no success..
Path to the requested file should be set but is not accepted by VSC (I rebooted...)
I am running out of ideas.
I would really appreciate if someone could hint me to a detailed installation description.
Is it just me or are others having similar issues?
GvT
some more hours spent, trying to install everything using administrator rights... still no success..
Path to the requested file should be set but is not accepted by VSC (I rebooted...)
I am running out of ideas.
I would really appreciate if someone could hint me to a detailed installation description.
Is it just me or are others having similar issues?
GvT
- Attachments
-
- 2021-07-14_231835.jpg (629.2 KiB) Viewed 3227 times
Re: Problem installing Espressif IDF using VSC, VMWare & Windows 10
Try running install.bat from the esp-idf folder manually. I was having the same issue when I tried to reinstall it after it had been working fine for a while.
Who is online
Users browsing this forum: No registered users and 85 guests