Wrong python env when launching project

jesper
Posts: 26
Joined: Thu Nov 09, 2017 4:38 pm

Wrong python env when launching project

Postby jesper » Thu Feb 15, 2024 7:33 am

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 2707 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 2707 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?
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: Wrong python env when launching project

Postby liaifat85 » Thu Feb 15, 2024 3:23 pm

Here is something similar: https://esp32.com/viewtopic.php?t=20585

jesper
Posts: 26
Joined: Thu Nov 09, 2017 4:38 pm

Re: Wrong python env when launching project

Postby jesper » Thu Feb 15, 2024 3:47 pm

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.
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

Who is online

Users browsing this forum: No registered users and 7 guests