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

to pip or not to pip for Raspberry Pi Wheezy [closed]

asked 2012-10-06 07:19:16 -0500

dan gravatar image

updated 2014-01-28 17:13:51 -0500

ngrennan gravatar image

I am installing ROS on a Raspberry Pi with the Raspian wheezy distro using these instructions: ROS_RaspPi and the debian build.

The instructions worked OK up to but not including step 1.5, Build Higher-level/tools (Layer 2), which apparently is just the way it is.

Anyway, while setting up the environment, I tried to make an overlay and the instructions fail with sudo apt-get install python-rosinstall which generates: unable to locate package python-rosinstall Turns out, that is OK, as rosws was already installed via pip.

But that led to a bigger question-- is it OK to use both pip and apt-get install in the debian build for raspberry pi?

Searching ros answers overlay creation, it seems this may be due to using pip and apt-get install in the same build.

In the debian build instructions, it says: First install rosinstall and rospkg using pip install (advanced options for pip install): sudo pip install -U rosinstall vcstools rospkg rosdep

but there is a note from Tully on August 5th, saying not to do that, but I am wondering if his note applies only to bigger distros like Ubuntu: "If you have previously installed using pip it is recommended to uninstall using pip the tools now available through apt. I will attach instructions for uninstalling these tools below.

These tools include, rospkg, rosdep, rosinstall, vcstools, and rosrelease. In apt they are named python-PACKAGENAME, such as python-rospkg."

What to do?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Kevin
close date 2012-11-03 04:05:01

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-10-07 23:42:31 -0500

Lorenz gravatar image

In general, I would say if you can, always use the installation mechanism of your distro. Currently, only Ubuntu i386 and amd64 are supported. On any other platform you need to use pip.

edit flag offensive delete link more

Comments

1

It's ok to use apt and pip in the same installation. Just make sure to keep the pip stuff up to date when you update from apt. Using the two install methods leads to packages getting out of sync as often the user only remembers to update one of them.

tfoote gravatar image tfoote  ( 2012-10-08 08:40:16 -0500 )edit

Question Tools

Stats

Asked: 2012-10-06 07:19:16 -0500

Seen: 2,163 times

Last updated: Oct 07 '12