2015-05-21 66 views
2

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

但在步骤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。我不知道为什么它说:“蟒蛇> = 2.7.1-0ubuntu2”是ONT安装...

凯文癸

回答

1

哦...我发现安装指南中的语句:

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

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

+0

真是痛苦!我已经处理了几个小时了... – Jacksonkr