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

I found an alternative solution. The problem here is that (Python3) yaml is called from a Python2.7 script, with evident incompatibilities.

I thus installed yaml in its Python2.7 version:

 python2.7 setup.py install --prefix=/opt/ros/groovy

and then added the path where it has been installed in PYTHONPATH, which in my case was something like:

export PYTHONPATH=$PYTHONPATH:/opt/ros/groovy/lib/python2.7/site-packages

I found an alternative solution. The problem here is that (Python3) yaml is called from a Python2.7 script, with evident incompatibilities.

I thus installed yaml in its Python2.7 version:

 python2.7 setup.py install --prefix=/opt/ros/groovy
--prefix=/opt/ros/electric

and then added the path where it has been installed in PYTHONPATH, which in my case was something like:

export PYTHONPATH=$PYTHONPATH:/opt/ros/groovy/lib/python2.7/site-packages
PYTHONPATH=$PYTHONPATH:/opt/ros/electric/lib/python2.7/site-packages