Problem with launching pocketsphinx

asked 2018-09-25 08:42:52 -0500

Js gravatar image

updated 2018-09-25 09:07:42 -0500

gvdhoorn gravatar image

Using ROS kinetic in raspberry pi 3b ubuntu core.

Traceback (most recent call last):
  File "/home/rshriya/catkin_ws/src/pocketsphinx/scripts/recognizer.py", line 4, in <module>
    from pocketsphinx.pocketsphinx import *
ImportError: No module named pocketsphinx.pocketsphinx
[pocketsphinx_recognizer-1] process has died [pid 1615, exit code 1, cmd /home/rshriya/catkin_ws/src/pocketsphinx/scripts/recognizer.py _dict:=/home/rshriya/catkin_ws/src/pocketsphinx/vocab/voice_cmd.dic _kws:=/home/rshriya/catkin_ws/src/pocketsphinx/vocab/voice_cmd.kwlist _stream:=true _wavpath:=none __name:=pocketsphinx_recognizer __log:=/home/rshriya/.ros/log/5c157e48-c0c7-11e8-be35-b827eb8dfe7b/pocketsphinx_recognizer-1.log].
log file: /home/rshriya/.ros/log/5c157e48-c0c7-11e8-be35-b827eb8dfe7b/pocketsphinx_recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

thanks.

edit retag flag offensive close merge delete

Comments

Is this a duplicate of #q304191?

The usernames appear to be identical, as is the topic (pocketsphinx).

gvdhoorn gravatar image gvdhoorn  ( 2018-09-25 09:09:58 -0500 )edit

In this case pocketsphinx is missing obviously. You have only installed the ros wrapper for pocketsphinx, not pocketsphinx itself.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2018-09-25 11:36:06 -0500 )edit