我可以在任何地方为python预编译webrtcvad?

2024-10-03 15:27:01 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试用python在我的工作电脑上做一些音频工作。获得IT部门的批准安装任何东西都是一个艰苦的过程,所以我正在寻找一个解决办法。在

无论如何,它的长的缺点是当我运行^ {< CD1>}时,它失败了,并且告诉我我需要Visual C++ 14。我有2015年,但显然我需要那个特定的版本。在

有没有地方可以下载预编译的包?我一直在寻找wheel文件,但只找到了linux文件(我想,这有关系吗?在windows上10'

https://www.piwheels.hostedpi.com/simple/webrtcvad/

不管怎样,我真的不知道该把它放在哪里。回溯包括没有真正的原因,只是因为我觉得我应该。在

  ----------------------------------------
  Failed building wheel for webrtcvad
  Running setup.py clean for webrtcvad
Failed to build webrtcvad
Installing collected packages: webrtcvad
  Running setup.py install for webrtcvad ... error
    Complete output from command C:\Users\ylwaller\AppData\Local\Continuum\anaconda2\envs\sg2\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ylwaller\\AppData\\Local\\Temp\\pip-install-wx00j30u\\webrtcvad\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ylwaller\AppData\Local\Temp\pip-record-0f_keevu\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    copying webrtcvad.py -> build\lib.win-amd64-3.6
    running build_ext
    building '_webrtcvad' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Tags: installpybuildforlocalsetuprecordusers
1条回答
网友
1楼 · 发布于 2024-10-03 15:27:01

我找到了这个(适用于Windows):

 pip install https://github.com/respeaker/respeaker_python_library/releases/download/v0.4.1/webrtcvad-2.0.9.dev0-cp27-cp27m-win32.whl

发件人:https://github.com/respeaker/respeaker_python_library

希望能有所帮助。在

相关问题 更多 >