chili-epfl / ros4nao

Helpers to compile and distribute ROS for Aldebaran's Nao
MIT License
3 stars 2 forks source link

execute roscore failed in opennao VirturalBox #6

Open liusen-iscas opened 8 years ago

liusen-iscas commented 8 years ago

i installed a opennao2.1.2.17 in the VM VirtualBox,and follow the procedure of Installation of ROS on the Nao robot (http://wiki.ros.org/nao/Tutorials/Installation/local), when i execute the command $ roslaunch nao_bringup nao.launch An error occured:ImportError: No module named netifaces. i tried many method but failed to sovled the problem ,do you kown what's the reason of this ? and what i shouled do ?

severin-lemaignan commented 8 years ago

Hello!

Did you run

$ sudo emerge log4cxx netifaces pyyaml poco apr apr-util

as suggested in the installation notes?

liusen-iscas commented 8 years ago

yes i run this command,and my procedure is : (1).

$ su -c 'sed -i "s|#allow user nao to shutdown the robot|nao     ALL=(ALL) ALL\n&|" /etc/sudoers'

(2).

$ curl -k -s https://chili-research.epfl.ch/ros4nao/bootstrap.sh | sh

(3).

$ sudo emerge log4cxx netifaces pyyaml poco apr apr-util

(4).

$ sudo robotpkgin install nao-robot

this 4 step is ok but when i execute the

$ roslaunch nao_bringup nao.launch

the gentoo system promopt ImportError: No module named netifaces. is anywhere i make a mistake ? or any step i lost or wrong? do you have ang idear for me ? @severin-lemaignan with great thanks for you ~

severin-lemaignan commented 8 years ago

The installation of the packages was successful? sudo emerge netifaces does not return any error?