Changing Python Version (2.6 -> 2.7) for Existing Reviewboard Installation on CentOS 6

92 views
Skip to first unread message

Zachary Gallagher

unread,
Nov 2, 2015, 5:31:38 PM11/2/15
to reviewboard
Rather than update the entire OS, I'd like to install python 2.7 on CentOS6. Now, so far as I am aware, there's no method for installing python over the system version without breaking at least yum. If not more. Maybe there's a way? But I don't know what it is.


So installing python 2.7 as, say, /usr/local/python27 is totally easy and I have no problem doing that. But what I can't find in the documentation is whether or not it's possible to change which python binaries/libraries reviewboard uses without completely recompiling and installing. And since we use easy_install, that seems like it would make it even more complicated.

Is there a known, working method for installing python2.7 side-by-side on a CentOS 6 machine, and getting an existing reviewboard installation to recognize it?

Alfred von Campe

unread,
Nov 2, 2015, 5:43:36 PM11/2/15
to revie...@googlegroups.com
This is what I do on the CentOS 6 systems I mange:

# Install repo file and then Python itself
yum install -y python27 python27-virtualenv

Alfred

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zachary Gallagher

unread,
Nov 2, 2015, 5:46:17 PM11/2/15
to revie...@googlegroups.com
That works for installing Python, and that's fine. And it looks easier than using make altinstall or another method. But it doesn't really address the primary issue which is getting reviewboard to use the alternative version of python.

You received this message because you are subscribed to a topic in the Google Groups "reviewboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/fyCiYhx41KU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Zachary Gallagher
System Administrator
Remcom, Inc.
315 S. Allen St., Ste 420
State College, PA 16801
Office:  814-861-1299 x298
Mobile:  814-218-3762

Zachary Gallagher

unread,
Nov 2, 2015, 5:46:30 PM11/2/15
to reviewboard
That works for installing Python, and that's fine. And it looks easier than using make altinstall or another method. But it doesn't really address the primary issue which is getting reviewboard to use the alternative version of python.

Reply all
Reply to author
Forward
0 new messages