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

Module fails dependency check in python script

asked 2016-03-07 13:12:31 -0500

sarima gravatar image

When I attempt to install a module I just built into ROS, it fails to 'find' a required package because of an error in the associated check_deps.py file. The dependency it is trying to find is package genmsg, which is in fact installed (I even reinstalled, just in case). The Python file genmsg_check_deps.py is producing a Python error very early, during start-up, at the line: from genmsg import EXT_MSG, EXT_SRV, MsgContext claiming that there is no module named genmsg.

But of course this Python file itself is in lib/genmsg

We are using ROS Jade

edit retag flag offensive close merge delete

Comments

Did you include genmsg in your package.xml as a build_depend?

jackie gravatar image jackie  ( 2016-03-07 15:24:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-08 09:17:02 -0500

sarima gravatar image

Turns out to have been operator error. I was using sudo to do the install, which clears the environment variables setup by setup.bash.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-07 13:12:31 -0500

Seen: 229 times

Last updated: Mar 08 '16