Ask Your Question
0

Rosdep fails with easy_install

asked 2016-06-21 04:17:12 -0500

updated 2016-06-21 04:19:14 -0500

Hi,

I have a set of self-defined rosdep rules which have been working nice until now. I need to install a package through easy_install, therefore my rosdep rule is:

 python-pkg:
   ubuntu:
     easy_install:
       packages: [my_pkg]

But this does not work:

$ rosdep update
$ rosdep resolve python-pkg
#apt
<empty_line>

I tried different combinations, such adding trusty, etc, but still rosdep is not able to find it.

Any suggestion? Thanks!

Edit: If I use pip for instance it shows the rosdep resolve as expected, but not for easy_install. I am assuming there is support as it is said here

edit retag flag offensive close merge delete

Comments

Not an answer, but I'm not sure whether the rosdep documentation you're linking is still up-to-date. I seem to remember the support for package-specific rosdep rules (as was customary in the rosbuild days) being removed with the migration to catkin, but I could be wrong. Ping @Dirk Thomas?

gvdhoorn gravatar image gvdhoorn  ( 2016-06-21 08:42:58 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-06-22 13:49:22 -0500

tfoote gravatar image

The docs were updated to remove the errant reference to easy_install: https://github.com/ros-infrastructure... you should use the pip key.

easy_install does not have enough introspection to support the rosdep abstraction. (no instrospection) https://packaging.python.org/en/lates... and pip can install all the same packages.

edit flag offensive delete link more

Comments

Thanks for the reply. However, as far as I can tell pip cannot install all the same packages, it cannot install egg files. Example: https://pypi.python.org/pypi/ortools/...

Javier V. Gómez gravatar image Javier V. Gómez  ( 2016-06-23 05:19:38 -0500 )edit

Interesting, I didn't realize that. Though it looks like that doesn't have the same generality as pip packages as they're architecture specific.

tfoote gravatar image tfoote  ( 2016-06-23 19:54:45 -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

2 followers

Stats

Asked: 2016-06-21 04:17:12 -0500

Seen: 78 times

Last updated: Jun 22 '16