ESP-IDF Installation Error.
Posted: Thu Jul 15, 2021 4:50 pm
Hi ESP Community,
I am installing ESP-IDF but getting following errors. I followed this official link https://github.com/espressif/idf-eclips ... requisites to install.
Installing tools...
This can take a while. Please be patient.
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py install all
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1282, in action_install
tools_info = load_tools_info()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 922, in load_tools_info
with open(tool_versions_file_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\info\\OneDrive\\Desktop\\esp-idf;%IDF_PATH%\\tools\\tools/tools.json'
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 968, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 376, in check_output
**kwargs).stdout
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 453, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
NotADirectoryError: [WinError 267] The directory name is invalid
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1055, in action_export
tools_info = load_tools_info()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 922, in load_tools_info
with open(tool_versions_file_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\info\\OneDrive\\Desktop\\esp-idf;%IDF_PATH%\\tools\\tools/tools.json'
Configured CDT Build Environment variables. You can check Preferences > C/C++ > Build > Environment
Configured CMake toolchain. You can check Preferences > C/C++ > CMake
Install tools completed.
I am installing ESP-IDF but getting following errors. I followed this official link https://github.com/espressif/idf-eclips ... requisites to install.
Installing tools...
This can take a while. Please be patient.
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py install all
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1282, in action_install
tools_info = load_tools_info()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 922, in load_tools_info
with open(tool_versions_file_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\info\\OneDrive\\Desktop\\esp-idf;%IDF_PATH%\\tools\\tools/tools.json'
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 968, in get_python_env_path
cwd=global_idf_path, env=os.environ).decode()
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 376, in check_output
**kwargs).stdout
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 453, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "C:\Users\info\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
NotADirectoryError: [WinError 267] The directory name is invalid
Executing C:\Users\info\AppData\Local\Programs\Python\Python37\python.exe C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 1055, in action_export
tools_info = load_tools_info()
File "C:\esp-idf\esp-idf_v4.3\tools\idf_tools.py", line 922, in load_tools_info
with open(tool_versions_file_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\info\\OneDrive\\Desktop\\esp-idf;%IDF_PATH%\\tools\\tools/tools.json'
Configured CDT Build Environment variables. You can check Preferences > C/C++ > Build > Environment
Configured CMake toolchain. You can check Preferences > C/C++ > CMake
Install tools completed.