ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When you install the new version of python you need to install the version of python-yaml for that version. Python libraries are installed into different locations for different versions. Apt-get install will only install the yaml module for your default python.

If your default python is 2.6 it will install into /usr/lib/python2.6 but if you're using 2.7 it will install need the yaml module installed in /usr/lib/python2.7 which is the python 2.7 version of the library.