-
Notifications
You must be signed in to change notification settings - Fork 115
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 5.1 install error (IEP-971) #779
Comments
Hi @rusiradd, thank you for reporting this. So far I can't reproduce the issue on Mac and Windows. I've noticed that the command for install tools looks suspicious in your case: It looks like the plugin was not able to find Python 3.6 and higher on your system (in the Windows registry). Do you have a Python from the official vendor https://www.python.org/downloads/? UPDATE: It seems like I was wrong in assuming that it should be Python's absolute path. I tried just using "python" instead of the complete path, and it worked as expected. However, I do remember facing a similar problem a while back, and the solution was to install Python from the official vendor. I'm not entirely sure if that's the case here though. |
Hi @rusiradd Looks like IDF_PATH is not interpreted correctly. Instead of Let me check with the IDF Team |
Hi @rusiradd Could you share the product information. Please post the entire console output.
|
@kolipakakondal @alirana01 I've checked the Would it be possible to you to set the correct IDF_PATH before running |
Hi @dobairoland As a quick solution, we are planning to introduce validation while capturing IDF_PATH in the UI and that should avoid these sort of issues. Hi @rusiradd Can you confirm what is the IDF_PATH set in the IDE while installing tools? |
Traceback (most recent call last):
File "C:\Espressif\esp-idf-v5.1-rc1\tools\idf_tools.py", line 2660, in
main(sys.argv[1:])
File "C:\Espressif\esp-idf-v5.1-rc1\tools\idf_tools.py", line 2652, in main
action_func(args)
File "C:\Espressif\esp-idf-v5.1-rc1\tools\idf_tools.py", line 1598, in action_export
tools_info = load_tools_info()
File "C:\Espressif\esp-idf-v5.1-rc1\tools\idf_tools.py", line 1269, in load_tools_info
with open(tool_versions_file_name, 'r') as f: # type: ignore
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Espressif\tools/tools.json'
This error happens when i try to open a example IDF project
The text was updated successfully, but these errors were encountered: