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

ModuleNotFoundError: No module named 'pyaudio' #88

Open
jxyk2007 opened this issue Sep 20, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'pyaudio' #88

jxyk2007 opened this issue Sep 20, 2024 · 0 comments

Comments

@jxyk2007
Copy link

3. 在 Linux 上安装
在某些 Linux 发行版中,安装 PyAudio 还需要安装 PortAudio 库。你可以使用以下命令来安装:

bash
复制代码
sudo apt-get install portaudio19-dev
pip install pyaudio
4. 在 macOS 上安装
对于 macOS,使用 brew 安装 PortAudio,然后安装 PyAudio:

bash
复制代码
brew install portaudio
pip install pyaudio
检查是否安装成功
安装完成后,可以通过以下命令检查 pyaudio 是否安装成功:

bash
复制代码
python -m pip show pyaudio
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