2

我尝试按照以下说明在我的 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”是不可安装的......

凯文·奎

4

1 回答 1

1

哦...我在安装指南中找到了语句:

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

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

于 2015-05-22T06:33:16.847 回答