2015-05-21 72 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