Page 1 of 1

Wrong python env when launching project

Posted: Thu Feb 15, 2024 7:33 am
by jesper
I use Espressif-IDE.

I have an issue with a few of my older projects.
I had been using a different ESP-IDF version.

They compile fine, but when I want to flash/launch, I get the following error:
Screenshot 2024-02-15 at 14.15.58.png
Screenshot 2024-02-15 at 14.15.58.png (77.61 KiB) Viewed 2637 times
If refers to an idf5.0_py3.9_env.
However, I am using IDF 5.1

Funny enough, when build the project, if finds the 5.1 version fine:
Screenshot 2024-02-15 at 14.22.59.png
Screenshot 2024-02-15 at 14.22.59.png (74.28 KiB) Viewed 2637 times
I have been through the whole project folder, grepping for the '5.0_py3.9' string, but find NO references anywhere.
Also tried to go through the .espressif folder to see if there was any references to my project that way. No luck.
Where the heck is this stored?

How can I 'reset' this launch to use the correct version of my python environment?

Re: Wrong python env when launching project

Posted: Thu Feb 15, 2024 3:23 pm
by liaifat85
Here is something similar: https://esp32.com/viewtopic.php?t=20585

Re: Wrong python env when launching project

Posted: Thu Feb 15, 2024 3:47 pm
by jesper
Thank you, but not the same.
This is clearly related to Espressif-IDE (or Eclipse, actually), as the program compiles and launches fine in a command line ESP-IDF environment.
The silly idf5.0_py3.9 env is only used when launching in Eclipse. Building works fine.
And I just cannot find WHERE it is stored.