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: Check that python has venv package #34

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

espidf installer: Check that python has venv package #34

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 the venv package is not installed the idf_tools.py script fails.

Note that the error message is also misleading:

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

Desired state:
Check for this case and output a specific error (with instructions) early.

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