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

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

How to merge four videos on one screen with ffmpeg -