Ask Your Question
1

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 packages.debian.org/jessie/python-argparse. 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!

Peter

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Comments

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

dave.peacock gravatar imagedave.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 imagebtsimonh ( 2015-11-24 17:22:12 -0500 )edit

the build completed with no errors.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 384 times

Last updated: Sep 10 '13