【发布时间】:2017-12-22 15:44:59
【问题描述】:
我已按照 textract 网站上的说明进行操作,但由于 pocketsphinx 而出现错误
我尝试使用pip 单独安装pocketsphinx,但出现同样的错误:
命令“/usr/bin/python -u -c”导入设置工具, tokenize;文件='/tmp/pip-build-drE9wI/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(文件);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" 安装 --record /tmp/pip-nfLJNp-record/install-record.txt --single-version-externally-managed --compile" 失败,错误代码 1 在 /tmp/pip-build-drE9wI/pocketsphinx/
我正在尝试在 Ubuntu 16.04 上安装它。如果它很重要,我会在虚拟机上运行它。
【问题讨论】: