Код: Выделить всё
Collecting pyaudio
Using cached PyAudio-0.2.14.tar.gz (47 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyaudio
Building wheel for pyaudio (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyaudio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
/tmp/pip-build-env-og0eaglk/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
[TRUNCATED]
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/pyaudio
copying src/pyaudio/__init__.py -> build/lib.linux-x86_64-cpython-313/pyaudio
running build_ext
building 'pyaudio._portaudio' extension
creating build/temp.linux-x86_64-cpython-313/src/pyaudio
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include -I/usr/include -I/mnt/hdd/[TRUNCATED]/.venv/include -I/home/jack5/.pyenv/versions/3.13.2/include/python3.13 -c src/pyaudio/device_api.c -o build/temp.linux-x86_64-cpython-313/src/pyaudio/device_api.o
src/pyaudio/device_api.c:9:10: fatal error: portaudio.h: No such file or directory
9 | #include "portaudio.h"
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyaudio
Failed to build pyaudio
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pyaudio
У кого-нибудь есть идеи относительно того, что может быть причиной этого и как я могу обойти эту проблему?
Информация об ОС:
- Дистрибутив: Linux Mint 22.2 Zara
- база: Ubuntu 24.04 благородный
Подробнее здесь: https://stackoverflow.com/questions/797 ... ectory-whe
Мобильная версия