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

Changing python version in ROS

asked 2012-04-15 14:01:58 -0500

DavidLavy gravatar image

updated 2014-01-28 17:11:58 -0500

ngrennan gravatar image

Hi,

How to change the Python version in ROS, I installed EPD (Enthought Python Distribution) and it seems my ROS has used this version, instead of Python 2.7 which is installed by default ... I want to use OpenCV but it sends me an error 'ImportError: No module named cv', i tried that in the Python IDLE 2.7 and it sends me no error, how can i change the version? Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-04-15 19:21:02 -0500

kwc gravatar image

This seems more like a question for the EPD community than the ROS community. You need to configure your EPD to use Python libraries distributed with ROS. All of these are locatable using the PYTHONPATH configuration with ROS, plus the default site/dist-packages location that normal Python uses.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-15 14:01:58 -0500

Seen: 976 times

Last updated: Apr 15 '12