ctcdecode安装失败-/ tmp / pip-req-build-7zcjual1 /中的命令“ python setup.py egg_info”失败,错误代码为1

问题描述

我尝试在ubuntu 18.04上安装ctcdecode,但这并不容易。
首先,我将存储库克隆到服务器,并且在“ pip install”时发生错误。在克隆的根存储库中。
这是安装指南。
git clone --recursive https://github.com/parlance/ctcdecode.git
cd ctcdecode && pip install。

这是我的错误消息

Processing /home/skgudwn34/ctcdecode
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>",line 1,in <module>
      File "/tmp/pip-req-build-7zcjual1/setup.py",line 30,in <module>
        'third_party/boost_1_67_0.tar.gz')
      File "/tmp/pip-req-build-7zcjual1/setup.py",line 22,in download_extract
        tar.extractall('third_party/')
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/tarfile.py",line 2000,in extractall
        numeric_owner=numeric_owner)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/tarfile.py",line 2042,in extract
        numeric_owner=numeric_owner)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/tarfile.py",line 2112,in _extract_member
        self.makefile(tarinfo,targetpath)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/tarfile.py",line 2161,in makefile
        copyfileobj(source,target,tarinfo.size,ReadError,bufsize)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/tarfile.py",line 247,in copyfileobj
        buf = src.read(bufsize)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/gzip.py",line 287,in read
        return self._buffer.read(size)
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/_compression.py",line 68,in readinto
        data = self.read(len(byte_view))
      File "/home/skgudwn34/anaconda3/envs/pytorch/lib/python3.7/gzip.py",line 493,in read
        raise EOFError("Compressed file ended before the "
    EOFError: Compressed file ended before the end-of-stream marker was reached

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

我搜索了几天的解决方案。
许多人建议升级setuptools,但是没有用。
如何解决我的问题。
请帮忙。我期待您的评论。
预先感谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)