doesn't work for me

#1
by clem - opened

On a beta lite reachy mini - tried to install the app from the desktop mac app.

Logs:

Downloading HuggingFace Space: luisomoreau/hey_reachy_wake_word_detection
Space found: luisomoreau/hey_reachy_wake_word_detection (private=False)
Files available in space: .gitattributes, .gitignore, README.md, assets/ei-data-acquisition.png, assets/ei-logo.png, assets/ei-model-info.png, assets/hey-reachy.gif, hey_reachy_wake_word_detection/init.py, hey_reachy_wake_word_detection/greetings-audio/.DS_Store, hey_reachy_wake_word_detection/greetings-audio/speech_1765980822359.wav, hey_reachy_wake_word_detection/greetings-audio/speech_1765980857757.wav, hey_reachy_wake_word_detection/greetings-audio/speech_GpaewCuZq2E.ogg, hey_reachy_wake_word_detection/greetings-audio/speech_g4rDsF5OhcU.ogg, hey_reachy_wake_word_detection/main.py, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-aarch64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-armv7.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-x86_64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-mac-arm64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-mac-x86_64.eim, hey_reachy_wake_word_detection/static/index.html, index.html, pyproject.toml, style.css, uv.lock
Attempting to download all files from space...
Downloaded to: /Users/clementdelangue/.cache/huggingface/hub/spaces--luisomoreau--hey_reachy_wake_word_detection/snapshots/3b6670748dc3ffda9f09dce18810b283ace7147e
Downloaded files: index.html, uv.lock, pyproject.toml, README.md, style.css, hey_reachy_wake_word_detection/init.py, hey_reachy_wake_word_detection/main.py, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-armv7.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-x86_64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-mac-arm64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-mac-x86_64.eim, hey_reachy_wake_word_detection/models/hey-reachy-wake-word-detection-linux-aarch64.eim, hey_reachy_wake_word_detection/static/index.html, hey_reachy_wake_word_detection/greetings-audio/.DS_Store, hey_reachy_wake_word_detection/greetings-audio/speech_1765980857757.wav, hey_reachy_wake_word_detection/greetings-audio/speech_g4rDsF5OhcU.ogg, hey_reachy_wake_word_detection/greetings-audio/speech_1765980822359.wav, hey_reachy_wake_word_detection/greetings-audio/speech_GpaewCuZq2E.ogg, assets/ei-logo.png, assets/ei-data-acquisition.png, assets/hey-reachy.gif, assets/ei-model-info.png
Creating venv for 'hey_reachy_wake_word_detection' at /Applications/Reachy Mini Control.app/Contents/Resources/hey_reachy_wake_word_detection_venv
Running command: /Applications/Reachy Mini Control.app/Contents/Resources/.venv/bin/python3 -m venv /Applications/Reachy Mini Control.app/Contents/Resources/hey_reachy_wake_word_detection_venv
Running command: uv pip install --python /Applications/Reachy Mini Control.app/Contents/Resources/hey_reachy_wake_word_detection_venv/bin/python /Users/clementdelangue/.cache/huggingface/hub/spaces--luisomoreau--hey_reachy_wake_word_detection/snapshots/3b6670748dc3ffda9f09dce18810b283ace7147e
Using Python 3.12.12 environment at: hey_reachy_wake_word_detection_venv
Resolved 78 packages in 702ms
Building pyaudio==0.2.14
Building edge-impulse-linux==1.2.1
Building hey-reachy-wake-word-detection @ file:///Users/clementdelangue/.cache/huggingface/hub/spaces--luisomoreau--hey_reachy_wake_word_detection/snapshots/3b6670748dc3ffda9f09dce18810b283ace7147e
Built edge-impulse-linux==1.2.1
ร— Failed to build pyaudio==0.2.14
โ”œโ”€โ–ถ The build backend returned an error
โ•ฐโ”€โ–ถ Call to setuptools.build_meta.build_wheel failed (exit status: 1)

  [stdout]
  running bdist_wheel
  running build
  running build_py
  copying src/pyaudio/__init__.py ->
  build/lib.macosx-11.0-arm64-cpython-312/pyaudio
  running build_ext
  building 'pyaudio._portaudio' extension
  cc -fno-strict-overflow -Wsign-compare
  -Wunreachable-code -DNDEBUG -g -O3 -Wall -O3 -arch arm64
  -mmacosx-version-min=11.0 -Wno-nullability-completeness
  -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -DMACOS=1
  -I/usr/local/include -I/usr/include -I/opt/homebrew/include
  -I/Users/clementdelangue/.cache/uv/builds-v0/.tmp7COcio/include
  "-I/Applications/Reachy Mini
  Control.app/Contents/Resources/cpython-3.12.12-macos-aarch64-none/include/python3.12"
  -c src/pyaudio/device_api.c -o
  build/temp.macosx-11.0-arm64-cpython-312/src/pyaudio/device_api.o

  [stderr]
  /Users/clementdelangue/.cache/uv/builds-v0/.tmp7COcio/lib/python3.12/site-packages/setuptools/dist.py:759:
  SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!

  
  ********************************************************************************
          Please consider removing the following classifiers in favor of a
  SPDX license expression:

          License :: OSI Approved :: MIT License

          See
  https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
  for details.
  
  ********************************************************************************

  !!
    self._finalize_license_expression()
  src/pyaudio/device_api.c:9:10: fatal error: 'portaudio.h' file not found
  #include "portaudio.h"
           ^~~~~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/cc' failed with exit code 1

  hint: This error likely indicates that you need to install a library
  that provides "portaudio.h" for `[email protected]`

help: pyaudio (v0.2.14) was included because
hey-reachy-wake-word-detection (v0.1.0) depends on pyaudio
Installation failed, cleaning up /Applications/Reachy Mini Control.app/Contents/Resources/hey_reachy_wake_word_detection_venv
Job 'install' failed with error: Failed to install app 'hey_reachy_wake_word_detection'

Sign up or log in to comment