D'ont exit of virtual env of esp-idf

lekimtek
Posts: 1
Joined: Mon Dec 06, 2021 9:12 am

D'ont exit of virtual env of esp-idf

Postby lekimtek » Tue Dec 07, 2021 5:58 pm

Hello, I execute install.sh export.sh and all works fine, can write firm in my esp with no problem.
But when close my shell and reopenit, virtual env of esp idf remains active, all system python path is in
/root/.espressif/python_env/idf5.0_py3.8_env.
When run "which python" have this response
.espressif/python_env/idf5.0_py3.8_env/bin/python
I tried instructions from this post https://www.esp32.com/viewtopic.php?t=12481, the virtual env disapering when delete virtual env path
.espressif/python_env/idf5.0_py3.8_env/bin/python and works fine this solution.

My question is, allways need delete path for reseting virtualenv?
Don't have any way more easy and smart?

Kali linux,
esp-idf latest

User avatar
ESP_Roland
Posts: 240
Joined: Tue Oct 09, 2018 10:28 am

Re: D'ont exit of virtual env of esp-idf

Postby ESP_Roland » Wed Dec 08, 2021 7:48 am

Please check the configuration files of your shell (probably bash). Maybe you have updated there PATH or you have sourced export.sh there. Some of the older guides suggested to do this.

Who is online

Users browsing this forum: expupil and 98 guests