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

Failed building wheel for webrtcvad #66

Open
preetiverma525 opened this issue Dec 21, 2020 · 2 comments
Open

Failed building wheel for webrtcvad #66

preetiverma525 opened this issue Dec 21, 2020 · 2 comments

Comments

@preetiverma525
Copy link

Hi Team,

I am using python 3.8 and unable to install Resemblyzer and webrtcvad.

ERROR: Command errored out with exit status 1:
command: 'C:\Users\preeti.sitaram.verma\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad\setup.py'"'"'; file='"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-wheel-nrt057wp'
cwd: C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad
Complete output (9 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
copying webrtcvad.py -> build\lib.win-amd64-3.8
running build_ext
building '_webrtcvad' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

ERROR: Failed building wheel for webrtcvad
ERROR: Command errored out with exit status 1:
command: 'C:\Users\preeti.sitaram.verma\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad\setup.py'"'"'; file='"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\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\preeti.sitaram.verma\AppData\Local\Temp\pip-record-989g8f4v\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\preeti.sitaram.verma\Anaconda3\Include\webrtcvad'
cwd: C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
copying webrtcvad.py -> build\lib.win-amd64-3.8
running build_ext
building '_webrtcvad' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\preeti.sitaram.verma\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\webrtcvad\setup.py'"'"'; file='"'"'C:\Users\preeti.sitaram.verma\AppData\Local\Temp\pip-install-9m_59ekf\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\preeti.sitaram.verma\AppData\Local\Temp\pip-record-989g8f4v\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\preeti.sitaram.verma\Anaconda3\Include\webrtcvad' Check the logs for full command output.

Using cached Resemblyzer-0.1.1.dev0-py3-none-any.whl (15.7 MB)
Requirement already satisfied: torch>=1.0.1 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from Resemblyzer) (1.7.1)
Collecting webrtcvad>=2.0.10
Using cached webrtcvad-2.0.10.tar.gz (66 kB)
Requirement already satisfied: librosa>=0.6.1 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from Resemblyzer) (0.8.0)
Requirement already satisfied: numpy>=1.10.1 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from Resemblyzer) (1.18.5)
Requirement already satisfied: typing in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from Resemblyzer) (3.7.4.3)
Requirement already satisfied: scipy>=1.2.1 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from Resemblyzer) (1.5.0)
Requirement already satisfied: typing-extensions in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from torch>=1.0.1->Resemblyzer) (3.7.4.2)
Requirement already satisfied: decorator>=3.0.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (4.4.2)
Requirement already satisfied: audioread>=2.0.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (2.1.9)
Requirement already satisfied: soundfile>=0.9.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (0.10.3.post1)
Requirement already satisfied: pooch>=1.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (1.3.0)
Requirement already satisfied: resampy>=0.2.2 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (0.2.2)
Requirement already satisfied: joblib>=0.14 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (0.16.0)
Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (0.23.1)
Requirement already satisfied: numba>=0.43.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from librosa>=0.6.1->Resemblyzer) (0.50.1)
Requirement already satisfied: cffi>=1.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from soundfile>=0.9.0->librosa>=0.6.1->Resemblyzer) (1.14.0)
Requirement already satisfied: appdirs in c:\users\preeti.sitaram.verma\appdata\roaming\python\python38\site-packages (from pooch>=1.0->librosa>=0.6.1->Resemblyzer) (1.4.4)
Requirement already satisfied: requests in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from pooch>=1.0->librosa>=0.6.1->Resemblyzer) (2.24.0)
Requirement already satisfied: packaging in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from pooch>=1.0->librosa>=0.6.1->Resemblyzer) (20.4)
Requirement already satisfied: six>=1.3 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from resampy>=0.2.2->librosa>=0.6.1->Resemblyzer) (1.15.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa>=0.6.1->Resemblyzer) (2.1.0)
Requirement already satisfied: llvmlite<0.34,>=0.33.0.dev0 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from numba>=0.43.0->librosa>=0.6.1->Resemblyzer) (0.33.0+1.g022ab0f)
Requirement already satisfied: setuptools in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from numba>=0.43.0->librosa>=0.6.1->Resemblyzer) (49.2.0.post20200714)
Requirement already satisfied: pycparser in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from cffi>=1.0->soundfile>=0.9.0->librosa>=0.6.1->Resemblyzer) (2.20)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from requests->pooch>=1.0->librosa>=0.6.1->Resemblyzer) (1.25.9)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from requests->pooch>=1.0->librosa>=0.6.1->Resemblyzer) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from requests->pooch>=1.0->librosa>=0.6.1->Resemblyzer) (2020.6.20)
Requirement already satisfied: idna<3,>=2.5 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from requests->pooch>=1.0->librosa>=0.6.1->Resemblyzer) (2.10)
Requirement already satisfied: pyparsing>=2.0.2 in c:\users\preeti.sitaram.verma\anaconda3\lib\site-packages (from packaging->pooch>=1.0->librosa>=0.6.1->Resemblyzer) (2.4.7)
Building wheels for collected packages: webrtcvad
Building wheel for webrtcvad (setup.py): started
Building wheel for webrtcvad (setup.py): finished with status 'error'
Running setup.py clean for webrtcvad
Failed to build webrtcvad
Installing collected packages: webrtcvad, Resemblyzer
Running setup.py install for webrtcvad: started
Running setup.py install for webrtcvad: finished with status 'error'

@harinolon
Copy link

I am also having the same Issue
@preetiverma525

@psharifani
Copy link

I had the same issue. For running webrtcvad you need to install C++ compiler on your computer.
For more info check out this link

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

3 participants