Duplicate - not fixed - release/v4.4 install.sh venv error (IDFGH-10060) #11336 (IDFGH-14136) #14940
Closed
3 tasks done
Labels
Resolution: Cannot Reproduce
Issue cannot be reproduced
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
ESP-IDF v5.4-dev-4375-gf420609c33-dirty
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Diff - for fix.
diff --git a/tools/idf_tools.py b/tools/idf_tools.py
index 5ae9f4cae2..2186a1604a 100755
--- a/tools/idf_tools.py
+++ b/tools/idf_tools.py
@@ -2581,7 +2581,7 @@ def action_install_python_env(args): # type: ignore
nix_store = os.environ.get('NIX_STORE')
is_nix = nix_store is not None and sys.base_prefix.startswith(nix_store) and sys.prefix.startswith(nix_store)
if is_virtualenv and (not os.path.exists(idf_python_env_path) or reinstall):
fatal('This script was called from a virtual environment, can not create a virtual environment again')
raise SystemExit(1)
What is the actual behavior?
fails on venv error
Steps to reproduce.
running install.sh in a python venv environment.
Build or installation Logs.
More Information.
No, known error, pulled branch above, diff still not in code base.
The text was updated successfully, but these errors were encountered: