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

sadisari's profile - activity

2017-05-12 13:11:17 -0500 received badge  Famous Question (source)
2016-11-06 20:43:36 -0500 received badge  Famous Question (source)
2016-09-18 14:36:10 -0500 received badge  Notable Question (source)
2016-09-18 14:36:10 -0500 received badge  Popular Question (source)
2016-09-16 16:28:28 -0500 received badge  Student (source)
2016-07-21 17:33:29 -0500 received badge  Notable Question (source)
2016-07-11 20:03:47 -0500 asked a question Invoking "make -j4 -l4" failed, ImportError: No module named 'em'

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

2016-07-11 19:24:14 -0500 received badge  Supporter (source)
2016-07-11 19:24:12 -0500 received badge  Scholar (source)
2016-07-11 04:26:18 -0500 received badge  Popular Question (source)
2016-07-09 23:48:05 -0500 received badge  Organizer (source)
2016-07-09 21:51:30 -0500 asked a question unable to build qt gui packadges: catkin_make must be invoked in the root of workspace

Hi all,

Newbie to ROS, I have downloaded "qt_gui_core" under my "ros_ws" (/ros_ws/qt_gui_core/qt_gui_core) and complied with cmake ./CMakeLists.txt successfully. When I try to run catkin_make to build I get the error message: The specified base path "/ros_ws/qt_gui_core/qt_gui_core" contains a package but "catkin_make" must be invoked in the root of workspace.

What am I doing wrong? How is one supposed to compile these packages without a catkin_ws and under ros_ws? also, qt_gui_core contains many subdirectories (qt_dotgraph, qt_gui_cpp...) am I correct by assuming the get built if I successfully build qt_gui_core/qt_gui_core?

Thank you very much