Robotics StackExchange | Archived questions

Problem with launching pocketsphinx

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.

Asked by Js on 2018-09-25 08:42:52 UTC

Comments

Is this a duplicate of #q304191?

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

Asked by gvdhoorn on 2018-09-25 09:09:58 UTC

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

Asked by Humpelstilzchen on 2018-09-25 11:36:06 UTC

Answers