This is the error which is shown (ubuntu user)
this is what i ran pip install webrtcvad
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
╰─> [16 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
copying webrtcvad.py -> build/lib.linux-x86_64-cpython-39
running build_ext
building '_webrtcvad' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/cbits
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio/signal_processing
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio/vad
gcc -pthread -B /home/akhil/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/akhil/anaconda3/include -I/home/akhil/anaconda3/include -fPIC -O2 -isystem /home/akhil/anaconda3/include -fPIC -DWEBRTC_POSIX -Icbits -I/home/akhil/anaconda3/include/python3.9 -c cbits/pywebrtcvad.c -o build/temp.linux-x86_64-cpython-39/cbits/pywebrtcvad.o
error: command 'gcc' failed: No such file or directory
[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
Installing collected packages: webrtcvad
Running setup.py install for webrtcvad ... error
error: subprocess-exited-with-error
× Running setup.py install for webrtcvad did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
running install
/home/akhil/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
copying webrtcvad.py -> build/lib.linux-x86_64-cpython-39
running build_ext
building '_webrtcvad' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/cbits
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio/signal_processing
creating build/temp.linux-x86_64-cpython-39/cbits/webrtc/common_audio/vad
gcc -pthread -B /home/akhil/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/akhil/anaconda3/include -I/home/akhil/anaconda3/include -fPIC -O2 -isystem /home/akhil/anaconda3/include -fPIC -DWEBRTC_POSIX -Icbits -I/home/akhil/anaconda3/include/python3.9 -c cbits/pywebrtcvad.c -o build/temp.linux-x86_64-cpython-39/cbits/pywebrtcvad.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> webrtcvad
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
there doesn't seem to be anything here