Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

espidf installer: Make sure python does not come from virtual env #33

Open
N3xed opened this issue Dec 31, 2021 · 0 comments
Open

espidf installer: Make sure python does not come from virtual env #33

N3xed opened this issue Dec 31, 2021 · 0 comments

Comments

@N3xed
Copy link
Collaborator

N3xed commented Dec 31, 2021

In the esp-idf installer when it tries to create a python virtual env with

python esp-idf-v4.3.1/tools/idf_tools.py --idf-path esp-idf-v4.3.1 --quiet --non-interactive install-python-env

if python is already from a virtual env this installation fails with:

ERROR: This script was called from a virtual environment, can not create a virtual environment again

Desired state:
Detect this and try to get the actual python executable from which the virtual env was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant