Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant install it when using pip install pysine #10

Open
ghost opened this issue Sep 18, 2022 · 1 comment
Open

cant install it when using pip install pysine #10

ghost opened this issue Sep 18, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 18, 2022

this is what terminal printed out (im on rpi) any hep appreciated

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pysine
  Using cached https://www.piwheels.org/simple/pysine/pysine-0.9.2-py2.py3-none-any.whl (6.0 kB)
Requirement already satisfied: mock in /usr/lib/python3/dist-packages (from pysine) (4.0.3)
Collecting pyaudio
  Using cached PyAudio-0.2.12.tar.gz (42 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pysine) (1.19.5)
Collecting nose>=1.0
  Using cached https://www.piwheels.org/simple/nose/nose-1.3.7-py3-none-any.whl (154 kB)
Building wheels for collected packages: pyaudio
  Building wheel for pyaudio (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /tmp/tmpqb9otd6v_in_process.py build_wheel /tmp/tmpvzv8lqbu
       cwd: /tmp/pip-install-0hi4j0xm/pyaudio_f6b96d04083b406a9c4890335956403c
  Complete output (16 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-cpython-39
  copying src/pyaudio.py -> build/lib.linux-aarch64-cpython-39
  running build_ext
  building '_portaudio' extension
  creating build/temp.linux-aarch64-cpython-39
  creating build/temp.linux-aarch64-cpython-39/src
  aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/include -I/usr/include -I/usr/include/python3.9 -c src/_portaudiomodule.c -o build/temp.linux-aarch64-cpython-39/src/_portaudiomodule.o
  src/_portaudiomodule.c:31:10: fatal error: portaudio.h: No such file or directory
     31 | #include "portaudio.h"
        |          ^~~~~~~~~~~~~
  compilation terminated.
  error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for pyaudio
Failed to build pyaudio
ERROR: 
Could not build wheels for pyaudio which use PEP 517 and cannot be installed directly

@benkorpella
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant