首页 Paddle框架 帖子详情
paddlespeech-juypter 安装报错
收藏
快速回复
Paddle框架 问答学习资料 1854 1
paddlespeech-juypter 安装报错
收藏
快速回复
Paddle框架 问答学习资料 1854 1

我按照官网的docker安装 paddlespeech

docker pull registry.baidubce.com/paddlepaddle/paddle:2.4.1-jupyter

使用pip install paddlespeech 直接安装

一开始找不到gcc 后来是找不到ccplus

我依次 conda install gcc gxx后

想问各位大神这个版本/paddle:2.4.1-jupyter是怎么安装gcc g++的环境的

以下是报错信息

 

 

Collecting zhon
Using cached zhon-1.1.5-py3-none-any.whl
Building wheels for collected packages: pyworld, webrtcvad
Building wheel for pyworld (setup.py) ... 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-n1kpv1ij/pyworld_9a8ebef72b8d4ae4b760d88d6114980d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-n1kpv1ij/pyworld_9a8ebef72b8d4ae4b760d88d6114980d/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 /tmp/pip-wheel-wl9alrgg
cwd: /tmp/pip-install-n1kpv1ij/pyworld_9a8ebef72b8d4ae4b760d88d6114980d/
Complete output (50 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/pyworld
copying pyworld/__init__.py -> build/lib.linux-x86_64-3.8/pyworld
running build_ext
building 'pyworld.pyworld' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/pyworld
creating build/temp.linux-x86_64-3.8/lib
creating build/temp.linux-x86_64-3.8/lib/World
creating build/temp.linux-x86_64-3.8/lib/World/src
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c pyworld/pyworld.cpp -o build/temp.linux-x86_64-3.8/pyworld/pyworld.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
from /opt/conda/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /opt/conda/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from pyworld/pyworld.cpp:624:
/opt/conda/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/stonemask.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/stonemask.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/common.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/common.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/dio.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/dio.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/synthesis.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/synthesis.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/d4c.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/d4c.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/codec.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/codec.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/fft.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/fft.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/synthesisrealtime.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/synthesisrealtime.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/matlabfunctions.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/matlabfunctions.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/harvest.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/harvest.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilib/World/src -I/opt/conda/include/python3.8 -I/opt/conda/lib/python3.8/site-packages/numpy/core/include -c lib/World/src/cheaptrick.cpp -o build/temp.linux-x86_64-3.8/lib/World/src/cheaptrick.o
cc1plus: warning: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/pyworld/pyworld.o build/temp.linux-x86_64-3.8/lib/World/src/stonemask.o build/temp.linux-x86_64-3.8/lib/World/src/common.o build/temp.linux-x86_64-3.8/lib/World/src/dio.o build/temp.linux-x86_64-3.8/lib/World/src/synthesis.o build/temp.linux-x86_64-3.8/lib/World/src/d4c.o build/temp.linux-x86_64-3.8/lib/World/src/codec.o build/temp.linux-x86_64-3.8/lib/World/src/fft.o build/temp.linux-x86_64-3.8/lib/World/src/synthesisrealtime.o build/temp.linux-x86_64-3.8/lib/World/src/matlabfunctions.o build/temp.linux-x86_64-3.8/lib/World/src/harvest.o build/temp.linux-x86_64-3.8/lib/World/src/cheaptrick.o -o build/lib.linux-x86_64-3.8/pyworld/pyworld.cpython-38-x86_64-linux-gnu.so
/opt/conda/compiler_compat/ld: cannot find /lib64/libpthread.so.0: No such file or directory
/opt/conda/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyworld
Running setup.py clean for pyworld
Building wheel for webrtcvad (setup.py) ... 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-n1kpv1ij/webrtcvad_1732c2da8d564478b2c46fb3cb49a6c2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-n1kpv1ij/webrtcvad_1732c2da8d564478b2c46fb3cb49a6c2/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 /tmp/pip-wheel-ue5336zq
cwd: /tmp/pip-install-n1kpv1ij/webrtcvad_1732c2da8d564478b2c46fb3cb49a6c2/
Complete output (122 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
copying webrtcvad.py -> build/lib.linux-x86_64-3.8
running build_ext
building '_webrtcvad' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/cbits
creating build/temp.linux-x86_64-3.8/cbits/webrtc
creating build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio
creating build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing
creating build/temp.linux-x86_64-3.8/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.8 -c cbits/pywebrtcvad.c -o build/temp.linux-x86_64-3.8/cbits/pywebrtcvad.o
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.8 -c cbits/webrtc/common_audio/signal_processing/complex_bit_reverse.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/complex_bit_reverse.o
In file included from cbits/webrtc/common_audio/signal_processing/complex_bit_reverse.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/complex_fft.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/complex_fft.o
In file included from cbits/webrtc/common_audio/signal_processing/complex_fft.c:19:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/cross_correlation.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/cross_correlation.o
In file included from cbits/webrtc/common_audio/signal_processing/cross_correlation.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/division_operations.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/division_operations.o
In file included from cbits/webrtc/common_audio/signal_processing/division_operations.c:24:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/downsample_fast.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/downsample_fast.o
In file included from cbits/webrtc/common_audio/signal_processing/downsample_fast.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/energy.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/energy.o
In file included from cbits/webrtc/common_audio/signal_processing/energy.c:18:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/get_scaling_square.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/get_scaling_square.o
In file included from cbits/webrtc/common_audio/signal_processing/get_scaling_square.c:18:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/min_max_operations.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/min_max_operations.o
In file included from cbits/webrtc/common_audio/signal_processing/min_max_operations.c:27:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/real_fft.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/real_fft.o
In file included from cbits/webrtc/common_audio/signal_processing/real_fft.c:15:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/resample_48khz.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_48khz.o
In file included from cbits/webrtc/common_audio/signal_processing/resample_48khz.c:19:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/resample_by_2_internal.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_by_2_internal.o
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.8 -c cbits/webrtc/common_audio/signal_processing/resample_fractional.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_fractional.o
In file included from cbits/webrtc/common_audio/signal_processing/resample_fractional.c:18:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/spl_init.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/spl_init.o
In file included from cbits/webrtc/common_audio/signal_processing/spl_init.c:17:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
cbits/webrtc/common_audio/signal_processing/spl_init.c:34:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
34 | static void InitPointersToC() {
| ^~~~~~~~~~~~~~~
cbits/webrtc/common_audio/signal_processing/spl_init.c:140:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
140 | void WebRtcSpl_Init() {
| ^~~~~~~~~~~~~~
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.8 -c cbits/webrtc/common_audio/signal_processing/vector_scaling_operations.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/vector_scaling_operations.o
In file included from cbits/webrtc/common_audio/signal_processing/vector_scaling_operations.c:23:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/vad/vad_core.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_core.o
In file included from cbits/webrtc/common_audio/vad/vad_core.h:19,
from cbits/webrtc/common_audio/vad/vad_core.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/vad/vad_filterbank.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_filterbank.o
In file included from cbits/webrtc/common_audio/vad/vad_core.h:19,
from cbits/webrtc/common_audio/vad/vad_filterbank.h:18,
from cbits/webrtc/common_audio/vad/vad_filterbank.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/vad/vad_gmm.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_gmm.o
In file included from cbits/webrtc/common_audio/vad/vad_gmm.c:13:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/vad/vad_sp.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_sp.o
In file included from cbits/webrtc/common_audio/vad/vad_core.h:19,
from cbits/webrtc/common_audio/vad/vad_sp.h:17,
from cbits/webrtc/common_audio/vad/vad_sp.c:11:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
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.8 -c cbits/webrtc/common_audio/vad/webrtc_vad.c -o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/webrtc_vad.o
In file included from cbits/webrtc/common_audio/vad/webrtc_vad.c:16:
cbits/webrtc/common_audio/signal_processing/include/signal_processing_library.h:115:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
115 | void WebRtcSpl_Init();
| ^~~~
gcc -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.8/cbits/pywebrtcvad.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/complex_bit_reverse.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/complex_fft.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/cross_correlation.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/division_operations.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/downsample_fast.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/energy.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/get_scaling_square.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/min_max_operations.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/real_fft.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_48khz.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_by_2_internal.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/resample_fractional.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/spl_init.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/signal_processing/vector_scaling_operations.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_core.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_filterbank.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_gmm.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/vad_sp.o build/temp.linux-x86_64-3.8/cbits/webrtc/common_audio/vad/webrtc_vad.o -o build/lib.linux-x86_64-3.8/_webrtcvad.cpython-38-x86_64-linux-gnu.so
/opt/conda/compiler_compat/ld: cannot find /lib64/libpthread.so.0: No such file or directory
/opt/conda/compiler_compat/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for webrtcvad
Running setup.py clean for webrtcvad
Failed to build pyworld webrtcvad
Installing collected packages: dill, anyio, aiohttp, xxhash, starlette, scikit-learn, responses, regex, pydantic, pyarrow, ppft, pox, numba, multiprocess, huggingface-hub, h11, commonmark, appdirs, uvicorn, typer, tabulate, soundfile, seqeval, sentencepiece, rich, resampy, pypinyin, portalocker, pooch, pathos, paddlefsl, paddle2onnx, nltk, mock, lxml, jieba, inflect, flatbuffers, fastapi, distance, datasets, cython, colorlog, colorama, bottleneck, audioread, zhon, yacs, websockets, webrtcvad, typeguard, timer, textgrid, sacrebleu, pyworld, pypinyin-dict, pybind11, prettytable, praatio, pattern-singleton, paddlespeech-feat, paddleslim, paddlenlp, paddleaudio, opencc, onnxruntime, nara-wpe, loguru, librosa, kaldiio, jsonlines, h5py, g2pM, g2p-en, editdistance, braceexpand, paddlespeech
Attempting uninstall: dill
Found existing installation: dill 0.3.6
Uninstalling dill-0.3.6:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'INSTALLER'
Consider using the `--user` option or check the permissions.

Note: you may need to restart the kernel to use updated packages.

0
收藏
回复
全部评论(1)
时间顺序
李长安
#3 回复于2023-01

厉害了,是我看不懂的

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户