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

Service 'speech_diarization' failed to build #5

Open
ankkk opened this issue Jul 11, 2020 · 2 comments
Open

Service 'speech_diarization' failed to build #5

ankkk opened this issue Jul 11, 2020 · 2 comments

Comments

@ankkk
Copy link

ankkk commented Jul 11, 2020

An error occurs when trying to build and launch a project:

Successfully built wave pyyaml wget sklearn future
Failed to build webrtcvad
Installing collected packages: redis, idna, urllib3, certifi, chardet, requests, wave, numpy, future, ffmpeg-python, webrtcvad, pydub, pyyaml, wget, spectralcluster, scipy, speechpy, simpleder, threadpoolctl, joblib, scikit-learn, sklearn
    Running setup.py install for webrtcvad: started
    Running setup.py install for webrtcvad: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j9x05w_a/webrtcvad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j9x05w_a/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 /tmp/pip-record-nh4e9vsi/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.7m/webrtcvad
         cwd: /tmp/pip-install-j9x05w_a/webrtcvad/
    Complete output (17 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    copying webrtcvad.py -> build/lib.linux-x86_64-3.7
    running build_ext
    building '_webrtcvad' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/cbits
    creating build/temp.linux-x86_64-3.7/cbits/webrtc
    creating build/temp.linux-x86_64-3.7/cbits/webrtc/common_audio
    creating build/temp.linux-x86_64-3.7/cbits/webrtc/common_audio/signal_processing
    creating build/temp.linux-x86_64-3.7/cbits/webrtc/common_audio/vad
    gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWEBRTC_POSIX -Icbits -I/opt/conda/include/python3.7m -c cbits/pywebrtcvad.c -o build/temp.linux-x86_64-3.7/cbits/pywebrtcvad.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /opt/conda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j9x05w_a/webrtcvad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-j9x05w_a/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 /tmp/pip-record-nh4e9vsi/install-record.txt --single-version-externally-managed --compile --install-headers /opt/conda/include/python3.7m/webrtcvad Check the logs for full command output.
ERROR: Service 'speech_diarization' failed to build: The command '/bin/sh -c pip install -r requirements.txt --ignore-installed' returned a non-zero code: 1
@himanshisyadav
Copy link

I have the same issue.

@abhinavkulkarni
Copy link

abhinavkulkarni commented Oct 21, 2021

@ankkk @himanshisyadav: Have you found any solution to this?

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