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

Rosdep failed to detect argparse (Debian)

asked 2013-09-10 11:19:56 -0500

St3am gravatar image

updated 2014-01-28 17:17:54 -0500

ngrennan gravatar image

Hi guys,

I'm trying to build ROS hydro/groovy (recently switched to hydro upon hearing that groovy may have had more than its fair share of bugs) on Debian Jesse and have been having a lot of trouble getting rosdep to run all the way through. I tried skipping rosdep and just manually installing the packages with apt-get when the catkin build process stalled on a missing package, but once I thought I got them all it got bogged down in a mess of linking errors. This made me think rosdep maybe was doing something other than just getting apt-get to fill all of the dependencies. I finally managed to build collada-dom-dev and so rosdep would stop failing there but now it fails to find python argparse. It's my understanding that argparse is provided by python 2.7 (the library libpython2.7-stdlib specifically) which I verified by checking Does anyone know how to get rosdep to recognize that python contains argparse and to link the libraries there? I will update the wiki with everything I learn from your responses!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-10 11:33:08 -0500

tfoote gravatar image

You probably need to contribut a patch to the rosdep rules for debian. The easiest will be to alias a request for argparse to install lipython2.7-stdlib for jessie while leaving the rule to use python-argparse for squeeze and wheezy.

edit flag offensive delete link more


I'm not the OP, but just submitted a pull request with the patch, tested with squeeze

dave.peacock gravatar image dave.peacock  ( 2014-02-18 12:33:59 -0500 )edit

Just installing on arm - still getting 'python-argparse has no installation candidate' on wheezy armhf (mk802ii) - hoping it's in libpython2.7-stdlib...

btsimonh gravatar image btsimonh  ( 2015-11-24 17:22:12 -0500 )edit

the build completed with no errors.

btsimonh gravatar image btsimonh  ( 2015-11-25 01:38:57 -0500 )edit

Question Tools

1 follower


Asked: 2013-09-10 11:19:56 -0500

Seen: 457 times

Last updated: Sep 10 '13