botofancalin / Esp32_debug_template

A template project for debugginf esp-idf projects on VsCode
Apache License 2.0
56 stars 6 forks source link

idf.py not found #1

Open AndreasMainz opened 4 years ago

AndreasMainz commented 4 years ago

Hello Botofancalin,

many creating to Romania. I like your description and i need to debug with the Esp Wrover kit. But if i use Py Menu the failure comes up "The command "idf.py" is not found". Where can i find this file and where should it be located. Maybe you descripe all path you are using, it is most likely all diffent on different pc. Many thanks for your reply and best regards from germany A.Kohl

kifantidis commented 4 years ago

Hello @AndreasMainz . I've had the same problem yesterday. The solution for me was to add the idf.py and Python path in the environment variables.

  1. Press on "StartMenu/Windows" button
  2. Write "edit the system environment variables" and open it
  3. Press on "Environment Variables.." button on the right bottom corner
  4. Find the Path system variable and press on "Edit" button.
  5. Then add all the paths bellow inside the path variable and you are done !

%IDF_PATH%\tools

I hope this helps. Regards, Kostas.

AndreasMainz commented 4 years ago

Sorry, maybe not clear: I was asking for the file idf.py and not for Setting up the path. The path Setting was well descripted.

Many thanks for a reply.

botofancalin commented 4 years ago

The idf.py is located on "esp-idf/tools" folder. To solve your problem, set the correct path to it.