parlance / ctcdecode

PyTorch CTC Decoder bindings
MIT License
829 stars 245 forks source link

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-j5vlyP/ #64

Closed byuns9334 closed 6 years ago

byuns9334 commented 6 years ago

When I git clone and type 'pip install .', I get the following error:

How can I resolve this? Thanks!

Complete output from command python setup.py egg_info: zip_safe flag not set; analyzing archive contents...

Installed /tmp/pip-req-build-j5vlyP/.eggs/wget-3.2-py2.7.egg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-j5vlyP/setup.py", line 55, in <module>
    os.path.join(this_file, "build.py:ffi")
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/home/byuns9334/anaconda2/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/setuptools/dist.py", line 372, in __init__
    _Distribution.__init__(self, attrs)
  File "/home/byuns9334/anaconda2/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/setuptools/dist.py", line 528, in finalize_options
    ep.load()(self, ep.name, value)
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 204, in cffi_modules
    add_cffi_module(dist, cffi_module)
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
    execfile(build_file_name, mod_vars)
  File "/home/byuns9334/anaconda2/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile
    exec(code, glob, glob)
  File "/tmp/pip-req-build-j5vlyP/build.py", line 22, in <module>
    'third_party/openfst-1.6.3.tar.gz')
  File "/tmp/pip-req-build-j5vlyP/build.py", line 15, in download_extract
    tar = tarfile.open(dl_path)
  File "/home/byuns9334/anaconda2/lib/python2.7/tarfile.py", line 1680, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-j5vlyP/

ankitmundada commented 6 years ago

I am getting the same error. Below are the logs:

    Complete output from command python setup.py egg_info:
    zip_safe flag not set; analyzing archive contents...

    Installed /tmp/pip-x6d_geg7-build/.eggs/wget-3.2-py3.6.egg
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-x6d_geg7-build/setup.py", line 55, in <module>
        os.path.join(this_file, "build.py:ffi")
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/setuptools/dist.py", line 372, in __init__
        _Distribution.__init__(self, attrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/distutils/dist.py", line 281, in __init__
        self.finalize_options()
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/setuptools/dist.py", line 528, in finalize_options
        ep.load()(self, ep.name, value)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/cffi/setuptools_ext.py", line 188, in cffi_modules
        add_cffi_module(dist, cffi_module)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
        execfile(build_file_name, mod_vars)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/site-packages/cffi/setuptools_ext.py", line 25, in execfile
        exec(code, glob, glob)
      File "/tmp/pip-x6d_geg7-build/build.py", line 22, in <module>
        'third_party/openfst-1.6.3.tar.gz')
      File "/tmp/pip-x6d_geg7-build/build.py", line 14, in download_extract
        out=dl_path)
      File "/tmp/pip-x6d_geg7-build/.eggs/wget-3.2-py3.6.egg/wget.py", line 526, in download
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 248, in urlretrieve
        with contextlib.closing(urlopen(url, data)) as fp:
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 223, in urlopen
        return opener.open(url, data, timeout)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 564, in error
        result = self._call_chain(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 756, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 564, in error
        result = self._call_chain(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 756, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 564, in error
        result = self._call_chain(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 756, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 532, in open
        response = meth(req, response)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 642, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 570, in error
        return self._call_chain(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 504, in _call_chain
        result = func(*args)
      File "/home/ubuntu/miniconda2/envs/tmp_ctc_ds/lib/python3.6/urllib/request.py", line 650, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 404: Not Found

    ----------------------------------------
SeanNaren commented 6 years ago

Probably due to openFST being down, repull master and try again!

byuns9334 commented 6 years ago

@SeanNaren Hi, I repulled master and get the following error (it seems like problem with pyfst, but when I execute pip install pyfst, I still get the error)

Looking in indexes: https://pypi.python.org/simple, https://packagecloud.io/github/git-lfs/pypi/simple Processing /mnt/volume1/byuns9334/deepspeech.pytorch/ctcdecode Requirement already satisfied: cffi>=1.0.0 in /home/byuns9334/anaconda2/lib/python2.7/site-packages (from ctcdecode==0.3) (1.11.5) Requirement already satisfied: pycparser in /home/byuns9334/anaconda2/lib/python2.7/site-packages (from cffi>=1.0.0->ctcdecode==0.3) (2.17) Building wheels for collected packages: ctcdecode Running setup.py bdist_wheel for ctcdecode ... error Complete output from command /home/byuns9334/anaconda2/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-req-build-uIcAsP/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-90MwBF --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ctcdecode copying ctcdecode/init.py -> build/lib.linux-x86_64-2.7/ctcdecode creating build/lib.linux-x86_64-2.7/ctcdecode/_ext copying ctcdecode/_ext/init.py -> build/lib.linux-x86_64-2.7/ctcdecode/_ext creating build/lib.linux-x86_64-2.7/ctcdecode/_ext/ctc_decode copying ctcdecode/_ext/ctc_decode/init.py -> build/lib.linux-x86_64-2.7/ctcdecode/_ext/ctc_decode running build_ext generating cffi module 'build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.c' creating build/temp.linux-x86_64-2.7 building 'ctcdecode._ext.ctc_decode._ctc_decode' extension creating build/temp.linux-x86_64-2.7/build creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/tmp creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7 creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/decoder_utils.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/decoder_utils.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/path_trie.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/path_trie.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 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 /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.cpp:1:0: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.h:8:0, from /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.cpp:1: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.cpp:6:0: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/flags.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/flags.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/compat.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/compat.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 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++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/util.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/util.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/weight.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/weight.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table-ops.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table-ops.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst-types.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst-types.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 error: command 'gcc' failed with exit status 1 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++


Failed building wheel for ctcdecode Running setup.py clean for ctcdecode Failed to build ctcdecode lvsr 0.0.0 requires pyfst, which is not installed. Installing collected packages: ctcdecode Running setup.py install for ctcdecode ... error Complete output from command /home/byuns9334/anaconda2/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-req-build-uIcAsP/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-gsAtnF/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ctcdecode copying ctcdecode/init.py -> build/lib.linux-x86_64-2.7/ctcdecode creating build/lib.linux-x86_64-2.7/ctcdecode/_ext copying ctcdecode/_ext/init.py -> build/lib.linux-x86_64-2.7/ctcdecode/_ext creating build/lib.linux-x86_64-2.7/ctcdecode/_ext/ctc_decode copying ctcdecode/_ext/ctc_decode/init.py -> build/lib.linux-x86_64-2.7/ctcdecode/_ext/ctc_decode running build_ext generating cffi module 'build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.c' creating build/temp.linux-x86_64-2.7 building 'ctcdecode._ext.ctc_decode._ctc_decode' extension creating build/temp.linux-x86_64-2.7/build creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/tmp creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7 creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src creating build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/ctcdecode._ext.ctc_decode._ctc_decode.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/decoder_utils.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/decoder_utils.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/path_trie.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/path_trie.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 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 /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.cpp:1:0: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.h:8:0, from /tmp/pip-req-build-uIcAsP/ctcdecode/src/ctc_beam_search_decoder.cpp:1: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.cpp -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/flags.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/flags.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/pip-req-build-uIcAsP/ctcdecode/src/binding.cpp:6:0: /tmp/pip-req-build-uIcAsP/ctcdecode/src/scorer.h:9:33: fatal error: lm/enumerate_vocab.hh: No such file or directory compilation terminated. gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/compat.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/compat.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/util.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/util.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/weight.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/weight.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table-ops.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/symbol-table-ops.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst-types.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/fst-types.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/byuns9334/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include -I/home/byuns9334/anaconda2/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/TH -I/tmp/pip-req-build-uIcAsP/third_party/kenlm -I/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/include -I/tmp/pip-req-build-uIcAsP/third_party/ThreadPool -I/tmp/pip-req-build-uIcAsP/third_party/boost_1_63_0 -I/tmp/pip-req-build-uIcAsP/third_party/utf8 -I/home/byuns9334/anaconda2/include/python2.7 -c /tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/mapped-file.cc -o build/temp.linux-x86_64-2.7/tmp/pip-req-build-uIcAsP/third_party/openfst-1.6.7/src/lib/mapped-file.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -fPIC -w -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB -DINCLUDE_KENLM -DKENLM_MAX_ORDER=6 error: command 'gcc' failed with exit status 1 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++

ryanleary commented 6 years ago

You didn't pull the submodules. Make sure you do a recursive clone.