Ribbit-Network / ribbit-network-frog-software

The software for the Ribbit Network Frog Sensor
https://www.ribbitnetwork.org/
MIT License
9 stars 8 forks source link

Getting Started: ./install.sh all fails #40

Closed keerats7 closed 1 year ago

keerats7 commented 1 year ago

Full output of ./install.sh all on a MacOS while following the Getting Started instructions from the README:

Detecting the Python interpreter
Checking "python" ...
Python 3.11.4
"python" has been detected
Installing ESP-IDF tools
Selected targets are: esp32c3, esp32s2, esp32s3, esp32
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Skipping xtensa-esp32-elf@esp-2021r2-patch3-8.4.0 (already installed)
Skipping xtensa-esp32s2-elf@esp-2021r2-patch3-8.4.0 (already installed)
Skipping xtensa-esp32s3-elf@esp-2021r2-patch3-8.4.0 (already installed)
Skipping riscv32-esp-elf@esp-2021r2-patch3-8.4.0 (already installed)
Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed)
Skipping openocd-esp32@v0.11.0-esp32-20211220 (already installed)
Installing Python environment and packages
Python 3.11.4
pip 23.2.1 from /Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/pip (python 3.11)
Installing Python packages from /Users/keeratsingh/esp/esp-idf/requirements.txt
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Ignoring None: markers 'sys_platform == "win32"' don't match your environment
Requirement already satisfied: setuptools>=21 in /Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 4)) (67.6.1)
Collecting click>=7.0 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 8))
  Obtaining dependency information for click>=7.0 from https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl.metadata
  Using cached click-8.1.6-py3-none-any.whl.metadata (3.0 kB)
Collecting pyserial>=3.3 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 9))
  Using cached https://dl.espressif.com/pypi/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting future>=0.15.2 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 10))
  Using cached https://dl.espressif.com/pypi/future/future-0.18.3-py3-none-any.whl (492 kB)
Collecting cryptography>=2.1.4 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 12))
  Obtaining dependency information for cryptography>=2.1.4 from https://files.pythonhosted.org/packages/5a/ae/c5493024f3d9bef59021085f08bf37afd0bac50c7764cdc58327245df213/cryptography-41.0.2-cp37-abi3-macosx_10_12_universal2.whl.metadata
  Using cached cryptography-41.0.2-cp37-abi3-macosx_10_12_universal2.whl.metadata (5.2 kB)
Collecting pyparsing<2.4.0,>=2.0.3 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 18))
  Using cached https://dl.espressif.com/pypi/pyparsing/pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting pyelftools>=0.22 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 19))
  Using cached https://dl.espressif.com/pypi/pyelftools/pyelftools-0.29-py2.py3-none-any.whl (174 kB)
Collecting idf-component-manager~=1.0 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 20))
  Using cached https://dl.espressif.com/pypi/idf-component-manager/idf_component_manager-1.3.2-py3-none-any.whl (134 kB)
Collecting gdbgui==0.13.2.0 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 22))
  Using cached https://dl.espressif.com/pypi/gdbgui/gdbgui-0.13.2.0-py3-none-any.whl (878 kB)
Collecting pygdbmi<=0.9.0.2 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 25))
  Using cached https://dl.espressif.com/pypi/pygdbmi/pygdbmi-0.9.0.2-py3-none-any.whl (16 kB)
Collecting python-socketio<5 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 28))
  Using cached https://dl.espressif.com/pypi/python-socketio/python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)
Collecting jinja2<3.1 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 29))
  Using cached https://dl.espressif.com/pypi/jinja2/Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting itsdangerous<2.1 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 30))
  Using cached https://dl.espressif.com/pypi/itsdangerous/itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting kconfiglib==13.7.1 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 32))
  Using cached https://dl.espressif.com/pypi/kconfiglib/kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)
Collecting reedsolo<=1.5.4,>=1.5.3 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 35))
  Using cached https://dl.espressif.com/pypi/reedsolo/reedsolo-1.5.4-py3-none-any.whl (28 kB)
Collecting bitstring>=3.1.6 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 36))
  Using cached https://dl.espressif.com/pypi/bitstring/bitstring-4.0.2-py3-none-any.whl (46 kB)
Collecting ecdsa>=0.16.0 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 37))
  Using cached https://dl.espressif.com/pypi/ecdsa/ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
Collecting construct==2.10.54 (from -r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 41))
  Using cached https://dl.espressif.com/pypi/construct/construct-2.10.54-py3-none-any.whl (57 kB)
Collecting Flask<1.0,>=0.12.2 (from gdbgui==0.13.2.0->-r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 22))
  Using cached https://dl.espressif.com/pypi/flask/Flask-0.12.5-py2.py3-none-any.whl (81 kB)
Collecting Flask-Compress<2.0,>=1.4.0 (from gdbgui==0.13.2.0->-r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 22))
  Using cached https://dl.espressif.com/pypi/flask-compress/Flask_Compress-1.13-py3-none-any.whl (7.9 kB)
Collecting Flask-SocketIO<3.0,>=2.9 (from gdbgui==0.13.2.0->-r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 22))
  Using cached https://dl.espressif.com/pypi/flask-socketio/Flask_SocketIO-2.9.6-py2.py3-none-any.whl (16 kB)
Collecting gevent<2.0,>=1.2.2 (from gdbgui==0.13.2.0->-r /Users/keeratsingh/esp/esp-idf/requirements.txt (line 22))
  Using cached gevent-1.5.0.tar.gz (5.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [323 lines of output]
      warning: src/gevent/resolver/cares.pyx:32:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/resolver/cares.pyx:33:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      Compiling src/gevent/resolver/cares.pyx because it changed.
      [1/1] Cythonizing src/gevent/resolver/cares.pyx
      warning: src/gevent/libev/corecext.pyx:325:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/libev/corecext.pyx:778:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/libev/corecext.pyx:780:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/libev/corecext.pyx:782:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/libev/corecext.pyx:786:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
      warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
      warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
      warning: src/gevent/libev/corecext.pyx:1288:0: Global name __SYSERR_CALLBACK matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              if events & ~(libev.EV__IOFDSET | libev.EV_READ | libev.EV_WRITE):
                  raise ValueError('illegal event mask: %r' % events)
              # All the vfd_functions are no-ops on POSIX
              cdef int vfd = libev.vfd_open(fd)
              libev.ev_io_init(&self._watcher, <void *>gevent_callback_io, vfd, events)
              self.__watcher = <libev.ev_watcher*>&self._watcher
                               ^
      ------------------------------------------------------------

      src/gevent/libev/corecext.pyx:1027:25: Cannot convert 'ev_watcher *' to Python object

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                  raise ValueError('illegal event mask: %r' % events)
              # All the vfd_functions are no-ops on POSIX
              cdef int vfd = libev.vfd_open(fd)
              libev.ev_io_init(&self._watcher, <void *>gevent_callback_io, vfd, events)
              self.__watcher = <libev.ev_watcher*>&self._watcher
              self.__ss = &io_ss
                          ^
      ------------------------------------------------------------

      src/gevent/libev/corecext.pyx:1028:20: Cannot convert 'start_and_stop *' to Python object

      Error compiling Cython file:
      ------------------------------------------------------------
      ...

          def __cinit__(self, loop loop, double after=0.0, double repeat=0.0, ref=True, priority=None):
              if repeat < 0.0:
                  raise ValueError("repeat must be positive or zero: %r" % repeat)
              libev.ev_timer_init(&self._watcher, <void *>gevent_callback_timer, after, repeat)
              self.__watcher = <libev.ev_watcher*>&self._watcher
                               ^
      ------------------------------------------------------------

      src/gevent/libev/corecext.pyx:1072:25: Cannot convert 'ev_watcher *' to Python object

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          def __cinit__(self, loop loop, double after=0.0, double repeat=0.0, ref=True, priority=None):
              if repeat < 0.0:
                  raise ValueError("repeat must be positive or zero: %r" % repeat)
              libev.ev_timer_init(&self._watcher, <void *>gevent_callback_timer, after, repeat)
              self.__watcher = <libev.ev_watcher*>&self._watcher
              self.__ss = &timer_ss
                          ^
      ------------------------------------------------------------
  src/gevent/libev/corecext.pyx:1073:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          # 1) "libev: ev_signal_start called with illegal signal number"
          #    EV_NSIG might be different from signal.NSIG on some platforms
          # 2) "libev: a signal must not be attached to two different loops"
          #    we probably could check that in LIBEV_EMBED mode, but not in general
          libev.ev_signal_init(&self._watcher, <void *>gevent_callback_signal, signalnum)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1117:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          #    EV_NSIG might be different from signal.NSIG on some platforms
          # 2) "libev: a signal must not be attached to two different loops"
          #    we probably could check that in LIBEV_EMBED mode, but not in general
          libev.ev_signal_init(&self._watcher, <void *>gevent_callback_signal, signalnum)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &signal_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1118:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_idle _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_idle_init(&self._watcher, <void*>gevent_callback_idle)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1133:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_idle _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_idle_init(&self._watcher, <void*>gevent_callback_idle)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &idle_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1134:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_prepare _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_prepare_init(&self._watcher, <void*>gevent_callback_prepare)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1146:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_prepare _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_prepare_init(&self._watcher, <void*>gevent_callback_prepare)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &prepare_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1147:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_check _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_check_init(&self._watcher, <void*>gevent_callback_check)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1159:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_check _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_check_init(&self._watcher, <void*>gevent_callback_check)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &check_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1160:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

      cdef libev.ev_fork _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_fork_init(&self._watcher, <void*>gevent_callback_fork)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1172:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef libev.ev_fork _watcher

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_fork_init(&self._watcher, <void*>gevent_callback_fork)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &fork_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1173:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          # Note the use of ev_async_pending instead of ev_is_pending
          return True if libev.ev_async_pending(&self._watcher) else False

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_async_init(&self._watcher, <void*>gevent_callback_async)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1189:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          return True if libev.ev_async_pending(&self._watcher) else False

      def __cinit__(self, loop loop, ref=True, priority=None):
          libev.ev_async_init(&self._watcher, <void*>gevent_callback_async)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &async_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1190:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              raise AttributeError("Child watchers are not supported on Windows")
          if not loop.default:
              raise TypeError('child watchers are only available on the default loop')
          libev.gevent_install_sigchld_handler()
          libev.ev_child_init(&self._watcher, <void *>gevent_callback_child, pid, trace)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1212:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          if not loop.default:
              raise TypeError('child watchers are only available on the default loop')
          libev.gevent_install_sigchld_handler()
          libev.ev_child_init(&self._watcher, <void *>gevent_callback_child, pid, trace)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &child_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1213:20: Cannot convert 'start_and_stop *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              self._paths = paths
          else:
              paths = <bytes>path
              self._paths = paths
          libev.ev_stat_init(&self._watcher, <void *>gevent_callback_stat, <char*>paths, interval)
          self.__watcher = <libev.ev_watcher*>&self._watcher
                           ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1263:25: Cannot convert 'ev_watcher *' to Python object

  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          else:
              paths = <bytes>path
              self._paths = paths
          libev.ev_stat_init(&self._watcher, <void *>gevent_callback_stat, <char*>paths, interval)
          self.__watcher = <libev.ev_watcher*>&self._watcher
          self.__ss = &stat_ss
                      ^
  ------------------------------------------------------------

  src/gevent/libev/corecext.pyx:1264:20: Cannot convert 'start_and_stop *' to Python object
  Compiling src/gevent/libev/corecext.pyx because it changed.
  [1/1] Cythonizing src/gevent/libev/corecext.pyx
  Traceback (most recent call last):
    File "/Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/keeratsingh/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
      self.run_setup()
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
      self).run_setup(setup_script=setup_script)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 49, in <module>
    File "/private/tmp/pip-install-j8fw_grh/gevent_df957f8eb4d24333b64d7360c802f313/_setuputils.py", line 254, in cythonize1
      new_ext = cythonize(
                ^^^^^^^^^^
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
      cythonize_one(*args)
    File "/private/tmp/pip-build-env-8en4a762/overlay/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx
  [end of output]

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.

keenanjohnson commented 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?

keerats7 commented 1 year ago

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.