Ask Your Question
0

Rosdep pip instead of apt

asked 2018-09-28 09:09:49 -0500

lalten gravatar image

My node needs the Sympy Python package in version > 1.1.2 (otherwise plane/ray intersections are wrong)

So far I had added <depend>python-sympy</depend> to my package.xml to have rosdep take care of the installation. However, apt show python-sympy shows version 0.7.6.1-1, which won't work. After I removed apt's package and did pip install sympy, I got version 1.3, which is good.

Can I have rosdep use pip instead of apt? Do I need to do a pull request to add [python-sympy-pip] in https://github.com/ros/rosdistro/blob... ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-10 18:10:21 -0500

tfoote gravatar image

We generally don't want rosdep rules that override the system version with a pip version.

On your own system you can create a custom rosdep rule that will replace the apt one with pip if you want. But in general for deployment and sharing you should plan to use the system version.

Please see discussion at: https://github.com/ros/rosdistro/pull... for more context.

edit flag offensive delete link more

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: 2018-09-28 09:09:49 -0500

Seen: 106 times

Last updated: Oct 10 '18