Having trouble with esp-idf extension in vscode

orbitcoms
Posts: 149
Joined: Fri Aug 03, 2018 10:08 pm
Location: Sydney, Australia

Having trouble with esp-idf extension in vscode

Postby orbitcoms » Sat Jun 24, 2023 5:38 am

I am having trouble installing esp-idf into vscode. Tried directly from vscode first and did not work then installed esf-idf directly using the espressif installer. Tested the install and it compile ok at commend line.
Go back to vscode and have tried use existing, express and advanced options but cannot get it installed properly.

The main issue I get now is that vscode cannot find pyhton and create the virtual environment. I then searched for python and added it to the path in system environment but still having issues.

Why is this not straight forward, and I naive to think the installatiuon in vscode should install everything required and set any paths required?

Almost all the tutorials show steps that are only useful if they work but none seem to explain what to do in situations like this. One recent tutorial mentioned selecting the python to use from the express install in vscode. The tutorial was dated February this year so I thought it would apply but I cannot see any way to select the python to use.

My version of vs code is up to date. Machine is a 64 Bit windows 11 machine.

Thanks for some helop to get this installation running.

ESP_radurentea
Posts: 18
Joined: Thu Mar 09, 2023 8:30 am

Re: Having trouble with esp-idf extension in vscode

Postby ESP_radurentea » Mon Jun 26, 2023 8:23 am

Hmm... this is strange. I suggest for you to make a clean install of the extension. You can follow these steps for a clean uninstall https://github.com/espressif/vscode-esp ... the-plugin

If you still run into issues, try to run the "ESP-IDF: Doctor Command" from the command palette in VSCode (CTRL+SHIFT+P) and post the logs received here or the logs you receive when running the installation.

orbitcoms
Posts: 149
Joined: Fri Aug 03, 2018 10:08 pm
Location: Sydney, Australia

Re: Having trouble with esp-idf extension in vscode

Postby orbitcoms » Mon Jun 26, 2023 9:06 am

Thanks
I reinstalled windows from scratch and then vscode and ran "Express" to instal ver 5.02. I heard there is some issue with the lastr release 5.1?

Who is online

Users browsing this forum: No registered users and 9 guests