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

error: subprocess-exited-with-error while installing with pip #88

Open
audd1 opened this issue May 9, 2023 · 5 comments
Open

error: subprocess-exited-with-error while installing with pip #88

audd1 opened this issue May 9, 2023 · 5 comments

Comments

@audd1
Copy link

audd1 commented May 9, 2023

I'm trying to install webrtcvad using pip but I got the following error message, although I have I have microsoft visual c++ 2015-2022 redistributable installed:

`Collecting webrtcvad
Using cached webrtcvad-2.0.10.tar.gz (66 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: webrtcvad
Building wheel for webrtcvad (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
copying webrtcvad.py -> build\lib.win-amd64-cpython-310
running build_ext
building '_webrtcvad' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for webrtcvad
Running setup.py clean for webrtcvad
Failed to build webrtcvad`

@spydan33
Copy link

you need to go to https://visualstudio.microsoft.com/visual-cpp-build-tools/ and install C++ build tools. Make sure to check the box for it once the installer is finished.

@Mika4334
Copy link

already installed Microsoft Visual C++ 14.xx.xx
bagreport

same error, any suggestions?

@monroe-x
Copy link

不仅要安装构建tools,全部c++桌面开发都要安装才行

@spydan33
Copy link

@Mika4334 Right but did you make sure to check the build tools box while you are installing. Its not checked by default.

Thats the solution that worked for me.

@daanzu
Copy link

daanzu commented Sep 10, 2024

See #94 for fork providing binary wheels: https://github.com/daanzu/py-webrtcvad-wheels

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

5 participants