how to make python2.7 main python (alongside python 2.6) without breaking yum in centos?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I was told that yum is dependent on python 2.6 so i cannot remove 2.6 but i need python 2.7 to run my django project on my centOS server. Any workaround is appreciated as well.
centos python yum
add a comment |Â
up vote
1
down vote
favorite
I was told that yum is dependent on python 2.6 so i cannot remove 2.6 but i need python 2.7 to run my django project on my centOS server. Any workaround is appreciated as well.
centos python yum
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I was told that yum is dependent on python 2.6 so i cannot remove 2.6 but i need python 2.7 to run my django project on my centOS server. Any workaround is appreciated as well.
centos python yum
I was told that yum is dependent on python 2.6 so i cannot remove 2.6 but i need python 2.7 to run my django project on my centOS server. Any workaround is appreciated as well.
centos python yum
asked Nov 29 '17 at 14:58
Yogesh
61
61
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
I've been using pyenv for such tasks. Basically it allows to install multiple Python versions in your home dir, so that system Python is not affected and you can switch between versions.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I've been using pyenv for such tasks. Basically it allows to install multiple Python versions in your home dir, so that system Python is not affected and you can switch between versions.
add a comment |Â
up vote
1
down vote
I've been using pyenv for such tasks. Basically it allows to install multiple Python versions in your home dir, so that system Python is not affected and you can switch between versions.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
I've been using pyenv for such tasks. Basically it allows to install multiple Python versions in your home dir, so that system Python is not affected and you can switch between versions.
I've been using pyenv for such tasks. Basically it allows to install multiple Python versions in your home dir, so that system Python is not affected and you can switch between versions.
answered Nov 29 '17 at 16:26
user3120146
261
261
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407755%2fhow-to-make-python2-7-main-python-alongside-python-2-6-without-breaking-yum-in%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password