繁体   English   中英

我无法安装 PyAudio

[英]I cannot install PyAudio

我正在尝试制作语音识别软件,但它告诉我我需要 pyaudio。 我尝试使用轮子安装它,并且我已经尝试过pip install PyAudiobrew portaudiopipwin ,但没有任何效果,我该怎么办?

当我这样做时:

pip install PyAudio-0.2.11-cp38-cp38-win32.whl

它给了我这个:谢谢你的帮助

WARNING: Requirement 'PyAudio-0.2.11-cp38-cp38-win32.whl' looks like a filename, but the file does 
not exist
Processing c:\users\berna\pyaudio-0.2.11-cp38-cp38-win32.whl
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 
'C:\\Users\\berna\\PyAudio-0.2.11-cp38-cp38-win32.whl'

我能做什么?

您只需执行 3 个步骤即可安装 py 音频 1.在命令提示符中打开您的轮文件所在的文件夹 2.复制并粘贴您使用 Python 版本 3.type 获得的 pip 文件在命令提示符中 pip install PyAudio

享受

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM