该软件包PyAudioWPatch在 PyPi 上显示为可用,并带有一个大的旧绿色复选标记。
https://pypi.org/project/PyAudioWPatch/
但是,当我尝试安装它时,出现以下错误:
% pip install PyAudioWPatch
ERROR: Could not find a version that satisfies the requirement PyAudioWPatch (from versions: none)
ERROR: No matching distribution found for PyAudioWPatch
Run Code Online (Sandbox Code Playgroud)
对于上下文:
% python -V; pip -V
Python 3.9.13
pip 22.3.1 from /Users/petertoth/Documents/Desktop_record_sum/py/venv/lib/python3.9/site-packages/pip (python 3.9)
Run Code Online (Sandbox Code Playgroud)
为什么会这样呢?
该项目只有 Windows 的轮子,而你的系统不是 Windows,因此会出现错误。
我应该假设这是设计使然,因为它声明是一个具有 WASAPI 环回支持的 PortAudio 分支。由于 WASAPI 是 Windows 的东西,因此将其安装在非 Windows 系统上是没有意义的。
恕我直言,你最好安装原始项目。如果你真的想要这个,那么你应该尝试从GitHub获取它