如何在Ubuntu 16.04上安装PocketSphinx 0.1.15

问题描述 投票:0回答:1

我尝试在我的ubuntu机器ubuntu16.04上安装Pocketsphinx 0.1.15。我使用了命令pip install pocketsphinx,但它却抛出了错误。我在这里添加了错误。 https://pastebin.com/raw/3125YWKF。谁能帮我告诉我出了什么问题。我正在使用python 3.5.2

python ubuntu-16.04
1个回答
0
投票

输出中的以下行揭示了罪魁祸首:

deps / sphinxbase / src / libsphinxad / ad_pulse.c:44:30:致命错误:pulse / pulseaudio.h:无此文件或目录

看起来您需要安装libpulse-dev程序包才能获取此头文件。

© www.soinside.com 2019 - 2024. All rights reserved.