I’m about to cry by myself.
first of all, install portaudio
brew install portaudio
Secondly, find the installation path of portaudio
sudo find/-name "portaudio.h"
In my example, my path is stored in /opt/Hometree/cellular/portaudio/19.7.0/include/portaudio. H
Finally, replace the portaudio path with your own and run the following code
pip install --global-option='build_ext' --global-option='-I/opt/homebrew/Cellar/portaudio/19.7.0/include' --global-option='-L/opt/homebrew/Cellar/portaudio/19.7.0/lib' pyaudio
Read More:
- [Solved] Mac VS Code fatal error: ‘bits/stdc++.h‘ file not found
- [Solved] Mac Cmake Complie openmp Error: fatal error: ‘omp.h‘ file not found
- [Solved] MAC Compile Error: fatal error: ‘endian.h‘ file not found
- [Solved] Android12 Error: fatal error: ‘mediadrm/ICrypto.h‘ file not found
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- [Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory
- [Solved] ROS fatal error: alsa/asoundlib. h: There is no such directory or file
- [Solved] 1.fatal error: NvInfer.h: No such file or directory
- fatal error: libusb.h: No such file or directory [How to Solve]
- [Solved] fatal error: bits/libc-header-start.h: No such file or directory
- Centos pip install uwsgi error: “fatal error: Python.h: No such file or directory”
- Mac installation tree command error solution
- fatal error: libavutil/avconfig.h: No such file…
- [Solved] MSYS2+ fatal error: zlib.h: There is no such file or directory
- [Solved] utils.c:33:18: fatal error: zlib.h: No such file or directory
- Mac Error: sh: vue-cli-service: command not found
- [Solved] src/delly.h:8:42: fatal error: boost/graph/adjacency_list.hpp: No such file or directory
- [Solved] Linux R Pack Error: cram/cram_io.c:61:10: fatal error: lzma.h: No such file or directory
- Mac error: SH: Vue cli service: command not found