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

Revision history [back]

What is the output of python --version in your system ?

list all pythons on your system

ls /usr/bin/python*

and then use alias to change default python in your system with ;

alias python='/usr/bin/python2.7'

What is the output of python --version in your system ?

list all pythons on your system

ls /usr/bin/python*

and then use alias in ~/.bashrc file to change default python in your system with ;

alias python='/usr/bin/python2.7'

also source ~./bashrc, afteryou added above line