0
$\begingroup$

Rosanswers logo

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


Originally posted by DavidLavy on ROS Answers with karma: 139 on 2012-04-15

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by kwc with karma: 12244 on 2012-04-15

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.