-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
ESP-IDF install.sh fails with Syntax Error (IDFGH-7302) #8890
Comments
Hi @taguniversalmachine. There are already official ESP-IDF docker images available (for each release branches). The source can be found here and the documentation here. You can use the source if you want to build your own version. You can ignore this:
If there is no
The issue here is that Python 3.5 is available and ESP-IDF v4.4 requires 3.6 or newer. You can switch to a newer version of the OS or install a suitable python in your docker. You can achieve this by adding a mirror to |
Awesome, thanks fo r the excellent support. |
Reopen until the fix is on GitHub, thanks. |
ESP-IDF v4.4 supports Python 3.6 or newer. F-strings are available there but idf_tools.py can fail if run with older Pythons because the Python version check is done later. Closes #8890
Thanks for reporting, fix is available 7b33262. |
Problem Description
In an effort to once and for all get IDF working in a consistent basis, I made a Docker image that installs all the prerequisites, including Python, and yet I still can't get the install script to work, I assume it's a python versioning error but nothing I do can force it to use Python3.
Expected Behavior
install.sh esp32 should install the tools
Actual Behavior
Steps to reproduce
Make a Dockerfile that installs python3, and checks out the 4.4 branch of ESP-IDF
The text was updated successfully, but these errors were encountered: