After failing the installation edit the file: ...\esp-idf\tools\idf_tools.py
In my case, it was the line 1183. Remove the argument '--no-site-packages' of the function.
The function looks like this before editing:
Code: Select all
subprocess.check_call([sys.executable, '-m', 'virtualenv', '--no-site-packages', idf_python_env_path],
stdout=sys.stdout, stderr=sys.stderr)
Edit it to look like this:
Code: Select all
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
stdout=sys.stdout, stderr=sys.stderr)
Try installing again using your previous installation folders.