简体   繁体   English

无法在 windows 上的 VScode 3.8.5 中安装 pyaudio

[英]Unable to install pyaudio in VScode 3.8.5 on windows

I try to install pyaudio on windows using pip from a wheel package as follow:我尝试在 windows 上使用 pip 从轮子 package 安装 pyaudio,如下所示:

pip install PyAudio-0.2.11-cp38-cp38m-win_amd64.whl

unfortunately it raise an error as presented below.不幸的是,它会引发如下所示的错误。 The error message tells that my pyaudio wheel unable to be founded.错误信息告诉我的 pyaudio 轮子无法创建。

WARNING: Requirement 'PyAudio‑0.2.11‑cp38‑cp38m‑win_amd64.whl' looks like a filename, but the file 
does not exist
ERROR: PyAudio‑0.2.11‑cp38‑cp38m‑win_amd64.whl is not a valid wheel filename.

What should I do to solve this issue and install pyaudio correctly?我应该怎么做才能解决这个问题并正确安装 pyaudio?

The error message was raised due to pip unable to locate the wheel file.由于 pip 无法找到轮文件而引发错误消息。 Try to specify a full path such as:尝试指定完整路径,例如:

pip install D:/../<file_name>.whl

or move your wheel file to the same directory as your pip.或将您的轮文件移动到与 pip 相同的目录。

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

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