Closed keerats7 closed 1 year ago
Thanks @keerats7 ! This is from the esp-idf install process, so it's a little bit difficult for me to say why it's failing as I haven't seen this before. Can you try running the osx install instructions for esp-idf first and then see if this error still exists?
Following the instructions worked! I specifically needed to install Cmake and Ninja build with brew install cmake ninja dfu-util
.
Additionally, I had to git checkout release/v4.4
instead of 4.4.1 for install.sh all
to work. I followed the last comment from https://github.com/espressif/esp-idf/issues/10116.
Full output of ./install.sh all on a MacOS while following the Getting Started instructions from the README:
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Traceback (most recent call last): File "/Users/keeratsingh/esp/esp-idf/tools/idf_tools.py", line 1858, in
main(sys.argv[1:])
File "/Users/keeratsingh/esp/esp-idf/tools/idf_tools.py", line 1854, in main
action_func(args)
File "/Users/keeratsingh/esp/esp-idf/tools/idf_tools.py", line 1575, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/bin/python', '-m', 'pip', 'install', '--no-warn-script-location', '-r', '/Users/keeratsingh/esp/esp-idf/requirements.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.