How to select which version of python I am running on Linux? -


the version of linux working on has python 2.6 default, , installed 2.7 on in separate folder.

if want run .py script, how tell use 2.7 instead of default?

use update-alternatives --config python , shoose python2.7 choices.
if need remove use update-alternatives --remove python /usr/bin/python2.7.


Comments

Popular posts from this blog

java - Callback from new thread to class from which thread was initiated -

php - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -