云服务器安装ctcdecode报错,不知道哪里出了问题

在租的云服务器上想安装ctcdecode第三方包,但是一直报这个错误,环境已经和csdn帖子上装的一样了,求网上大神们解答,我应该怎么办
目前环境:
python:3.6
pytorch:1.0
wget:3.2
gcc:7.5.0
Processing /root/Desktop/ctcdecode
Building wheels for collected packages: ctcdecode
Building wheel for ctcdecode (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /root/miniconda3/envs/myconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-07bhd27i/setup.py'"'"'; file='"'"'/tmp/pip-req-build-07bhd27i/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-n9pua992
cwd: /tmp/pip-req-build-07bhd27i/
Complete output (67 lines):
/root/miniconda3/envs/myconda/lib/python3.6/distutils/extension.py:131: UserWarning: Unknown Extension options: 'package', 'with_cuda'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/ctcdecode
copying ctcdecode/init.py -> build/lib.linux-x86_64-3.6/ctcdecode
running build_ext
building 'ctcdecode._ext.ctc_decode' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/ctcdecode
creating build/temp.linux-x86_64-3.6/ctcdecode/src
creating build/temp.linux-x86_64-3.6/third_party
creating build/temp.linux-x86_64-3.6/third_party/kenlm
creating build/temp.linux-x86_64-3.6/third_party/kenlm/util
creating build/temp.linux-x86_64-3.6/third_party/kenlm/lm
creating build/temp.linux-x86_64-3.6/third_party/kenlm/util/double-conversion
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/path_trie.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/path_trie.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/ctc_beam_search_decoder.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/ctc_beam_search_decoder.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/decoder_utils.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/decoder_utils.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/binding.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/binding.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from ctcdecode/src/decoder_utils.cpp:1:0:
ctcdecode/src/decoder_utils.h:5:10: fatal error: fst/log.h: No such file or directory
#include "fst/log.h"
^~~~~~~~~~~
compilation terminated.
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/scorer.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/scorer.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/ctc_beam_search_decoder.h:8,
from ctcdecode/src/ctc_beam_search_decoder.cpp:1:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
In file included from ctcdecode/src/path_trie.cpp:1:0:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c third_party/kenlm/util/spaces.cc -o build/temp.linux-x86_64-3.6/third_party/kenlm/util/spaces.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c third_party/kenlm/util/parallel_read.cc -o build/temp.linux-x86_64-3.6/third_party/kenlm/util/parallel_read.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
error: command 'gcc' failed with exit status 1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/scorer.cpp:1:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
In file included from ctcdecode/src/binding.cpp:5:0:
/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include/torch/torch.h:7:2: warning: #warning "Including torch/torch.h for C++ extensions is deprecated. Please include torch/extension.h" [-Wcpp]
#warning
^~~~~~~
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/binding.cpp:6:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.


ERROR: Failed building wheel for ctcdecode
Running setup.py clean for ctcdecode
Failed to build ctcdecode
Installing collected packages: ctcdecode
Running setup.py install for ctcdecode ... error
ERROR: Command errored out with exit status 1:
command: /root/miniconda3/envs/myconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-07bhd27i/setup.py'"'"'; file='"'"'/tmp/pip-req-build-07bhd27i/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-e6dca8oa/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/myconda/include/python3.6m/ctcdecode
cwd: /tmp/pip-req-build-07bhd27i/
Complete output (65 lines):
/root/miniconda3/envs/myconda/lib/python3.6/distutils/extension.py:131: UserWarning: Unknown Extension options: 'package', 'with_cuda'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/ctcdecode
copying ctcdecode/init.py -> build/lib.linux-x86_64-3.6/ctcdecode
running build_ext
building 'ctcdecode._ext.ctc_decode' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/ctcdecode
creating build/temp.linux-x86_64-3.6/ctcdecode/src
creating build/temp.linux-x86_64-3.6/third_party
creating build/temp.linux-x86_64-3.6/third_party/kenlm
creating build/temp.linux-x86_64-3.6/third_party/kenlm/util
creating build/temp.linux-x86_64-3.6/third_party/kenlm/lm
creating build/temp.linux-x86_64-3.6/third_party/kenlm/util/double-conversion
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/path_trie.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/path_trie.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/ctc_beam_search_decoder.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/ctc_beam_search_decoder.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/decoder_utils.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/decoder_utils.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/binding.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/binding.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from ctcdecode/src/decoder_utils.cpp:1:0:
ctcdecode/src/decoder_utils.h:5:10: fatal error: fst/log.h: No such file or directory
#include "fst/log.h"
^~~~~~~~~~~
compilation terminated.
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c ctcdecode/src/scorer.cpp -o build/temp.linux-x86_64-3.6/ctcdecode/src/scorer.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
In file included from ctcdecode/src/path_trie.cpp:1:0:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
gcc -pthread -B /root/miniconda3/envs/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-07bhd27i/third_party/kenlm -I/tmp/pip-req-build-07bhd27i/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-07bhd27i/third_party/ThreadPool -I/tmp/pip-req-build-07bhd27i/third_party/boost_1_67_0 -I/tmp/pip-req-build-07bhd27i/third_party/utf8 -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/THC -I/root/miniconda3/envs/myconda/include/python3.6m -c third_party/kenlm/util/spaces.cc -o build/temp.linux-x86_64-3.6/third_party/kenlm/util/spaces.o -O3 -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ctc_decode -D_GLIBCXX_USE_CXX11_ABI=1
error: command 'gcc' failed with exit status 1
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/ctc_beam_search_decoder.h:8,
from ctcdecode/src/ctc_beam_search_decoder.cpp:1:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/scorer.cpp:1:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
In file included from ctcdecode/src/binding.cpp:5:0:
/root/miniconda3/envs/myconda/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include/torch/torch.h:7:2: warning: #warning "Including torch/torch.h for C++ extensions is deprecated. Please include torch/extension.h" [-Wcpp]
#warning
^~~~~~~
In file included from ctcdecode/src/scorer.h:14:0,
from ctcdecode/src/binding.cpp:6:
ctcdecode/src/path_trie.h:10:10: fatal error: fst/fstlib.h: No such file or directory
#include "fst/fstlib.h"
^~~~~~~~~~~~~~
compilation terminated.
----------------------------------------
ERROR: Command errored out with exit status 1: /root/miniconda3/envs/myconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-07bhd27i/setup.py'"'"'; file='"'"'/tmp/pip-req-build-07bhd27i/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-e6dca8oa/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/myconda/include/python3.6m/ctcdecode Check the logs for full command output.

仔细检查一下命令,是不是命令写的有问题

系统环境错误。重新配置计算机系统环境。网络层渲染错误。