Задать вопрос
  • Не могу установить PyAudio в PyCharm?

    @Khanovrr Автор вопроса
    Алан Гибизов, E: Невозможно найти пакет python-pyaudio (((((
  • Не могу установить PyAudio в PyCharm?

    @Khanovrr Автор вопроса
    Алан Гибизов, спасибо за подсказку про спойлер, и спасибо что указал что нужно, я установил все, и проблема та же
    spoiler
    ERROR: Command errored out with exit status 1:
    command: /home/rafael/PycharmProjects/pythonProject/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nxo7xje4/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nxo7xje4/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nmly63j6/install-record.txt --single-version-externally-managed --compile --install-headers /home/rafael/PycharmProjects/pythonProject/venv/include/site/python3.8/PyAudio
    cwd: /tmp/pip-install-nxo7xje4/pyaudio/
    Complete output (16 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    copying src/pyaudio.py -> build/lib.linux-x86_64-3.8
    running build_ext
    building '_portaudio' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/src
    x86_64-unknown-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/home/rafael/PycharmProjects/pythonProject/venv/include -I/usr/include/python3.8 -c src/_portaudiomodule.c -o build/temp.linux-x86_64-3.8/src/_portaudiomodule.o
    src/_portaudiomodule.c:29:10: фатальная ошибка: portaudio.h: Нет такого файла или каталога
    29 | #include "portaudio.h"
    | ^~~~~~~~~~~~~
    компиляция прервана.
    error: command 'x86_64-unknown-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Command errored out with exit status 1: /home/rafael/PycharmProjects/pythonProject/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nxo7xje4/pyaudio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nxo7xje4/pyaudio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nmly63j6/install-record.txt --single-version-externally-managed --compile --install-headers /home/rafael/PycharmProjects/pythonProject/venv/include/site/python3.8/PyAudio Check the logs for full command output.

    да да, я тупой