在Debian错误中:“命令'gcc'失败,退出状态为1”(pip安装)

时间:2020-01-02 15:22:33

标签: python-3.x gcc pip debian pocketsphinx

你好。
我有一个目标,请在python3(3.7.5)或python3.8(3.8.1)中安装pocketsphinx。
当我尝试在python3中安装模块pocketsphinx时,我可以看到更多问题。最后,我无法解决的是问题

  • 我正在做什么:
    sudo apt-get install python3-dev
    sudo apt-get install libevent-dev
    当然还有sudo apt update
    (我不知道,apt和apt get有什么区别?)

  • 短文本错误:

ERROR: Command errored out with exit status 1: <br/>
    command: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-62vol71b/pocketsphinx/setup.py'"'"'; __file__='"'"'/tmp/pip-install-62vol71b/pocketsphinx/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-pop7rbfc/install-record.txt --single-version-externally-managed --compile<br/><br/>
    (and very more) 
    gcc -pthread -Wno-unused-result...

    compilation terminated. <br/>
    error: command 'gcc' failed with exit status 1

(我不会发表全文错误,文字太大)

(已更改) 我不知道如何,但是我尝试:
sudo apt-get install libsdl2-2.0
问题假。怎么样?为什么?我试过了!

0 个答案:

没有答案