-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
IDF 5.2 fails to install Python venv (IDFGH-12140) #13196
Comments
It did successfully install when building the Docker image: https://github.com/espressif/esp-idf/actions/runs/7911595216/job/21595996329, and it works in our internal CI as well. Can you please try running |
v5.2 I checked out the actual tag. It looks like a lot of commands are still looking for the 5.1 venv, and some are looking for 5.2. So the fix is to copy the 5.1 the installer creates into 5.2, and keep the old 5.1. |
Hello @readmodifywrite , just a thought. Isn't it possible that you are running the I can reproduce this with
In 2. the |
Warn if IDF_PYTHON_ENV_PATH set to a suspicious path with different ESP-IDF version and/or Python version. Fail if the virtual environment was created for a different ESP-IDF version. Closes #13196
Warn if IDF_PYTHON_ENV_PATH set to a suspicious path with different ESP-IDF version and/or Python version. Fail if the virtual environment was created for a different ESP-IDF version. Closes #13196
Warn if IDF_PYTHON_ENV_PATH set to a suspicious path with different ESP-IDF version and/or Python version. Fail if the virtual environment was created for a different ESP-IDF version. Closes espressif#13196
Answers checklist.
IDF version.
v5.2 11eaf41
Operating System used.
Linux
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
None
What is the expected behavior?
IDF 5.2 should.... work? Lol.
What is the actual behavior?
ERROR: /home/jeremy/.espressif/python_env/idf5.2_py3.8_env/bin/python doesn't exist! Please run the install script or "idf_tools.py install-python-env" in order to create it
This is after erasing ~/.espressif and running install.sh.
v5.2 doesn't create idf5.2_py3.8_env, so nothing works. Can't even run a clean command.
It does however, install idf5.1_py3.8_env.
It looks like renaming it to 5.2 instead of 5.1 gets it to work.
I'm using the actual v5.2 tag.
Did this work in your CI system? Why would it install differently on my machine vs the CI environment?
Steps to reproduce.
Install IDF 5.2. That's it.
Build or installation Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: