В этой статье
- Problem:
- Solution:
- Search
- Categories
- Как сделать неактивную InlineKeyboardButton в aiogram?
- Как открыть сайт в браузере написанный на Python?
- Как при отсутствии интернета, перезапустить код(телеграмPyTelegramBot)?
- Какими средствами сделать веб-интерфейс работы с БД?
- Как вывести наиболее повторяющийся элемент в списке?
Problem:
You are trying to install pyaudio using sudo pip install pyaudio or a similar command but you see an error message like
src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory
#include “portaudio.h”
^
compilation terminated.
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
—————————————-
Command “/usr/bin/python3 -u -c “import setuptools, tokenize;__file__=’/tmp/pip-build-jgxnwixs/pyaudio/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file__, ‘exec’))” install –record /tmp/pip-c3blzlv5-record/install-record.txt –single-version-externally-managed –compile” failed with error code 1 in /tmp/pip-build-jgxnwixs/pyaudio/
Solution:
You need to install the portaudio library. On Debian/Ubuntu you can do that using
sudo apt install portaudio19-dev
on other systems either search for portaudio in your package manager or download the library from http://www.portaudio.com/
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow
Search
Categories
- 3D printing (43)
- Algorithms (6)
- Allgemein (82)
- Android (2)
- APIs (1)
- Arduino (1)
- Audio (5)
- Audio/Video (19)
- Backup (2)
- Bioinformatics (23)
- CAD (1)
- Calculators (28)
- cloud-init (1)
- Container (152)
- CoreOS (13)
- Docker (111)
- Kubernetes (11)
- LXC (15)
- Podman (2)
- Portainer (3)
- Cryptography (9)
- Data science (11)
- Documentation (1)
- E-Mail (3)
- Economics (1)
- Electronics (437)
- Analog (2)
- Compliance (8)
- Embedded (296)
- Arduino (51)
- EFM8 (4)
- ESP8266/ESP32 (95)
- FreeRTOS (7)
- mbed (10)
- MicroPython (14)
- NanoPB (2)
- PlatformIO (114)
- Raspberry Pi (37)
- STM32 (26)
- Teensy (10)
- EMI (3)
- FPGA (1)
- Home-Assistant (10)
- KiCAD (16)
- LinuxCNC (6)
- Medical devices (2)
- SPICE (4)
- Teardown (1)
- Frameworks (20)
- WordPress (20)
- Fun (1)
- Generators (3)
- Geography (21)
- Leaflet (1)
- OpenStreetMap (4)
- Geoinformatics (5)
- Hardware (5)
- Linux (280)
- Alpine Linux (20)
- systemd (15)
- Machine learning (2)
- Mathematics (9)
- Networking (264)
- FreePBX (13)
- MikroTik (35)
- MQTT (26)
- EMQX (8)
- nginx (28)
- OpenWRT (4)
- PoE (5)
- VPN (36)
- Headscale (13)
- OpenVPN (2)
- Wireguard (21)
- ZeroTier (9)
- Nextcloud (11)
- OpenCASCADE (30)
- Patents (1)
- PDF (5)
- Performance (4)
- Physics (6)
- Programming languages (854)
- C/C++ (229)
- Boost (15)
- GCC errors (38)
- C# (3)
- CSS (1)
- Go (9)
- Haskell (8)
- Haxe (2)
- HTML (7)
- Java (7)
- Javascript (109)
- Angular (23)
- NodeJS (39)
- LaTeX (22)
- Octave (13)
- PHP (22)
- Python (395)
- Cartopy (15)
- OpenPyXL (7)
- pandas (50)
- Paramiko (4)
- skyfield (6)
- R (13)
- Ruby (3)
- Shell (19)
- Typescript (9)
- C/C++ (229)
- Project management (54)
- Build systems (33)
- CMake (17)
- Conan (10)
- Version management (18)
- git (17)
- Subversion (2)
- Build systems (33)
- Statistics (6)
- Technologies (182)
- bup (2)
- Cloud (33)
- Databases (69)
- ElasticSearch (34)
- MongoDB (9)
- SQLite (6)
- GitLab (2)
- GPU (1)
- Jupyter (1)
- LLVM (2)
- OpenCV (4)
- Puppeteer (29)
- Pyppeteer (13)
- S3 (11)
- Traefik (15)
- Virtualization (14)
- WASM (1)
- Zigbee (1)
- TechOverflow (2)
- veeam (1)
- Video (3)
- Windows (16)
- PowerShell (4)
- Impressum & Datenschutz
© 2022 TechOverflow. Bento theme by SatoriThis website uses cookies to improve your experience. We’ll assume you’re ok with this, but you can opt-out if you wish. Cookie settingsACCEPTPrivacy & Cookies PolicyClose
Как сделать неактивную InlineKeyboardButton в aiogram?
- 1 подписчик
- час назад
- 12 просмотров
ответов
0

Python
Простой
Как открыть сайт в браузере написанный на Python?
- 1 подписчик
- 4 часа назад
- 120 просмотров
ответ
1

JavaScript
- +3 ещё
Средний
Как при отсутствии интернета, перезапустить код(телеграмPyTelegramBot)?
- 1 подписчик
- 3 часа назад
- 34 просмотра
ответов
0

Python
Простой
Какими средствами сделать веб-интерфейс работы с БД?
- 2 подписчика
- 11 часов назад
- 181 просмотр
ответа
4

Python
- +2 ещё
Средний
Как вывести наиболее повторяющийся элемент в списке?
- 1 подписчик
- час назад
- 38 просмотров
ответа
2

Python
- +1 ещё
Простой
- https://techoverflow.net/2019/08/05/how-to-fix-pyaudio-fatal-error-portaudio-h-no-such-file-or-directory/
- https://qna.habr.com/q/929489