无法在Raspberry Pi 2上安装ROS indigo

时间:2015-05-21 08:37:04

标签: raspberry-pi ubuntu-14.04 ros raspberry-pi2

我尝试了以下说明在我的RPi2上安装ROS indigo。 http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi

但是在步骤2.2.2中

$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:wheezy

我得到了:

ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y python-rosdep] failed
  apt: command [sudo -H apt-get install -y python-rospkg] failed
  apt: command [sudo -H apt-get install -y python-catkin-pkg] failed
  apt: Failed to detect successful installation of [python-rosdep]
  apt: Failed to detect successful installation of [python-rospkg]
  apt: Failed to detect successful installation of [python-catkin-pkg]

有人可以帮助我吗?

我尝试使用以下命令手动安装python-rosdep

$ sudo -H apt-get install -y python-rosdep

它说:

The following packages have unmet dependencies:
 python-rosdep : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not installable
                 Depends: python-catkin-pkg but it is not going to be installed
                 Depends: python-rospkg (>= 1.0.34) but it is not going to be installed
                 Depends: python-rosdistro (>= 0.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ python --version
Python 2.7.3

我已经安装了python-2.7.3。我不知道为什么它说“python> = 2.7.1-0ubuntu2”是可以安装的......

Kevin Kuei

1 个答案:

答案 0 :(得分:1)

哦......我在安装指南中找到了声明:

注意:Rosdep可能会报告python-rosdep,python-catkin-pkg,python-rospkg和python-rosdistro无法安装;但是,您可以忽略此错误,因为它们已经与pip一起安装。

所以..那些错误信息可以忽略..:D