on-internet
← Community

How can I change the default python in Fedora?

Stack Overflow ·

I have compiled and installed python2.6 on my system with python2.7 installed as well. Unfortunately, I did not do it correctly and now my default python is 2.6. When I enter which python && /usr/bin/env python -V I am given /usr/local/bin/python Python 2.6.9 How can I change this? I checked my $PATH variable, but anything relevant to python is not there. The desired version is /usr/bin/python

Comments

Sign in or sign up to comment and upvote.

No comments yet.