ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Invoking "make -j4 -l4" failed, ImportError: No module named 'em'

asked 2016-07-11 20:03:47 -0500

sadisari gravatar image

Hi all,

After installing some rqt related packages, when running "catkin_make" I get:

make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Examining the output I see

    Traceback (most recent call last):
  File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in <module>
Traceback (most recent call last):
  File "/opt/ros/indigo/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in <module>
    import genmsg.template_tools
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in <module>
    import em
ImportError: No module named 'em'
    import genmsg.template_tools
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in <module>
    import em

The error persists although I have ran both python2.7 -m pip install empy and sudo apt-get install python-empy

Anyone has any advise?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-11-15 02:59:40 -0500

changhai0551 gravatar image

hello , I have fixed it by running pip install empy.

edit flag offensive delete link more
1

answered 2017-04-27 22:35:50 -0500

i fixed it with python -m pip install empy

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-07-11 20:03:47 -0500

Seen: 10,575 times

Last updated: Jul 11 '16