Sphinx错误;缺少PocketSphinx模块:确保PocketSphinx设置正确

2024-04-23 06:30:27 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着用这样的解释:Python pocketsphinx RequestError: missing PocketSphinx module: ensure that PocketSphinx is set up correctly

因此,我安装了以下软件包:

sudo apt-get install -qq python python-dev python-pip build-essential swig libpulse-dev

但我在安装后运行SpeechRecognition的函数时遇到了相同的错误: Sphinx错误;缺少PocketSphinx模块:确保PocketSphinx设置正确

我使用以下版本:

姓名:pocketsphinx 版本:0.1.15 概要:CMU Sphinxbase和Pocketsphinx库的Python接口 主页:https://github.com/bambocher/pocketsphinx-python 作者:Dmitry Prazdnichnov 作者电子邮件:dmitry@prazdnichnov.name地址 许可证:BSD 位置:/usr/local/lib/python3.7/dist-packages 要求: 要求人:

名称:SpeechRecognition 版本:3.8.1 摘要:用于执行语音识别的库,支持多种引擎和API,在线和离线。 主页:https://github.com/Uberi/speech_recognition#readme 作者:Anthony Zhang(Uberi) 作者电子邮件:邮箱:azhang9@gmail.com 许可证:BSD 位置:/usr/local/lib/python3.7/dist-packages 要求: 要求人:


Tags: httpsdev版本githubcom电子邮件usrlocal