Error to install esp-idf
Posted: Wed Sep 25, 2019 8:36 pm
Hello everyone, I´m trying to install the esp-idf in my computer but when the process is almost finishing and the requirements are being installed i receive an error, i going to put a piece of the log file where the error is displayed:
2019-09-25 17:34:37.443 Installing Python environment:C:\Python\python.exe C:\ESP\.espressif\idf_tools_fallback.py --idf-path C:\ESP_IDF --tools C:\ESP\.espressif\tools_fallback.json install-python-env
2019-09-25 17:34:38.190 Done, exit code=1
2019-09-25 17:34:38.190 --------
2019-09-25 17:34:38.190 Running command: C:\Python\python.exe C:\ESP\.espressif\idf_tools_fallback.py --idf-path C:\ESP_IDF --tools C:\ESP\.espressif\tools_fallback.json install-python-env
Could not import runpy module
ModuleNotFoundError: No module named 'runpy'
Installing Python packages from C:\ESP_IDF\requirements.txt
Traceback (most recent call last):
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1249, in <module>
main(sys.argv[1:])
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1245, in main
action_func(args)
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1076, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "C:\Python\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\ESP\\.espressif\\python_env\\idf3.3_py3.7_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'C:\\ESP_IDF\\requirements.txt']' returned non-zero exit status 1.
2019-09-25 17:34:38.190 --------
2019-09-25 17:34:38.190 Message box (OK):
Installation has failed with exit code 1
2019-09-25 17:34:43.548 User chose OK.
2019-09-25 17:34:43.560 Message box (Yes/No):
Installation log has been created, it may contain more information about the problem.
Display the installation log now?
2019-09-25 17:34:44.621 User chose Yes.
2019-09-25 17:34:44.653 CurStepChanged raised an exception.
2019-09-25 17:34:37.443 Installing Python environment:C:\Python\python.exe C:\ESP\.espressif\idf_tools_fallback.py --idf-path C:\ESP_IDF --tools C:\ESP\.espressif\tools_fallback.json install-python-env
2019-09-25 17:34:38.190 Done, exit code=1
2019-09-25 17:34:38.190 --------
2019-09-25 17:34:38.190 Running command: C:\Python\python.exe C:\ESP\.espressif\idf_tools_fallback.py --idf-path C:\ESP_IDF --tools C:\ESP\.espressif\tools_fallback.json install-python-env
Could not import runpy module
ModuleNotFoundError: No module named 'runpy'
Installing Python packages from C:\ESP_IDF\requirements.txt
Traceback (most recent call last):
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1249, in <module>
main(sys.argv[1:])
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1245, in main
action_func(args)
File "C:\ESP\.espressif\idf_tools_fallback.py", line 1076, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr)
File "C:\Python\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\ESP\\.espressif\\python_env\\idf3.3_py3.7_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'C:\\ESP_IDF\\requirements.txt']' returned non-zero exit status 1.
2019-09-25 17:34:38.190 --------
2019-09-25 17:34:38.190 Message box (OK):
Installation has failed with exit code 1
2019-09-25 17:34:43.548 User chose OK.
2019-09-25 17:34:43.560 Message box (Yes/No):
Installation log has been created, it may contain more information about the problem.
Display the installation log now?
2019-09-25 17:34:44.621 User chose Yes.
2019-09-25 17:34:44.653 CurStepChanged raised an exception.