Dear José Michel,
Thank you for your reply and your effort. I appreciate it.
You have pointed out some differences between your and my installations. I wonder why the differences are there. I use version 5.0.1 and you version 5.0.0. I do hope someone from the development team will pursue this.
Did you add the three lines to your system path variables by hand or was it done by the installation process?
Do you use Visual Studio Code with ESP-IDF and nothing else?
Did you install first Visual Studio Code and then ESP-IDF as an extension or did you install ESP-IDF first, then Visual Studio Code and finally used the command ESP-IDF: Configure the ESP-IDF within VS Code?
Regards,
Jorgen
idf.py not recognized
-
- Posts: 22
- Joined: Sun Oct 25, 2020 11:43 pm
Re: idf.py not recognized
Hi Jorgen,
Yes i am using only vscode and esp-idf
I have installed first Visual Studio Code and then ESP-IDF extension. (The result is normally the same)
(I used Command palettle -> ESP-IDF: New Project)
I added the three environment variables by hand
Kind regards
José Michel
Yes i am using only vscode and esp-idf
I have installed first Visual Studio Code and then ESP-IDF extension. (The result is normally the same)
(I used Command palettle -> ESP-IDF: New Project)
I added the three environment variables by hand
Kind regards
José Michel
José Michel
Re: idf.py not recognized
Dear José Miguel,
Thank you very much for your replies. I have tried your suggestions, but I have not managed to get idf.py working. I have de-installed and re-installed both Visual Studio Code and ESP-IDF. I have run the batch files, but my problem remained. I have spent 1½ day solid on it.
Now, I give up on Visual Studio Code + ESP-IDF extension.
In my searching for information, I learned that Espressif has an own IDE, which is Eclipse like. One has to install the ESP-IDF directly and check the option to install the IDE including an icon on the desktop. I have listened to two videos on how to use the IDE. It seems to offer the possibilities I find useful developing code such as a debugger with stop, step and run commands. Graphs of memory usage and tracing of variables. I will explore it further.
Thanks for now.
Regards,
Jorgen
Thank you very much for your replies. I have tried your suggestions, but I have not managed to get idf.py working. I have de-installed and re-installed both Visual Studio Code and ESP-IDF. I have run the batch files, but my problem remained. I have spent 1½ day solid on it.
Now, I give up on Visual Studio Code + ESP-IDF extension.
In my searching for information, I learned that Espressif has an own IDE, which is Eclipse like. One has to install the ESP-IDF directly and check the option to install the IDE including an icon on the desktop. I have listened to two videos on how to use the IDE. It seems to offer the possibilities I find useful developing code such as a debugger with stop, step and run commands. Graphs of memory usage and tracing of variables. I will explore it further.
Thanks for now.
Regards,
Jorgen
-
- Posts: 22
- Joined: Sun Oct 25, 2020 11:43 pm
Re: idf.py not recognized
Hi Jorgen,
I think that before give up, which is the python version you download from www.python.org for windows.
This version is used by vscode.
In a Terminal command prompt
type 1) install.bat
It install the very first time the python virtual environment corresponding to you esp-idf version
then type 2) export.bat
then you have idf.py
>> In the C:\Users\josem\.espressif directory
>> you have esp-idf.json and idf-env.json
>> you can see in it the configuration
Hope it helps you Jorgen
José Michel
I think that before give up, which is the python version you download from www.python.org for windows.
This version is used by vscode.
Code: Select all
//...
"python.defaultInterpreterPath":"C:\\Users\\josem\\AppData\\Local\\Programs\\Python\\Python39\\python.exe",
//...
type 1) install.bat
It install the very first time the python virtual environment corresponding to you esp-idf version
then type 2) export.bat
then you have idf.py
>> In the C:\Users\josem\.espressif directory
>> you have esp-idf.json and idf-env.json
>> you can see in it the configuration
Hope it helps you Jorgen
José Michel
José Michel
Re: idf.py not recognized
Hi Jorgen, I have the same problem, i.e. idf.py does not run in the powershell terminal which is opened by clicking Teminal and then New Terminal. However I get round this by opening an ESP-IDF terminal, this can be done by pressing ctrl E, releasing and then pressing t, or by pressing F1 to bring up the command pallet, type in ESP-IDF to filter out unwanted commands and then find Open ESD-IDF Terminal and click on it. Within the ESP-IDF terminal idf.py works perfectly. Note that I did install the environment variables by hand.
Re: idf.py not recognized
Thanks silbstep, I had the same problem and I can confirm that your key combination solves it.
Re: idf.py not recognized
Thank you silbstep this worked for me
Re: idf.py not recognized
Thanks man ! That solved my problemESP_Roland wrote: ↑Mon Mar 27, 2023 6:11 amI recommend to you to remove all environment variables you set manually. They will cause you trouble now or later.
It is advised to use the Windows installer (https://docs.espressif.com/projects/esp ... setup.html) which will set up your environment.
Who is online
Users browsing this forum: No registered users and 65 guests