Page 1 of 1
Install Python 2.7
Posted: 2017/10/27 17:54:32
by kbocek
I'm seeing all kinds of conflicting info on getting Python 2.7 installed on CentOS 6. I've installed all the 2.7 packages from centos-sclo-rh. Now how do I enable them?
Re: Install Python 2.7
Posted: 2017/10/27 19:27:25
by TrevorH
Using the scl command
Re: Install Python 2.7
Posted: 2017/10/28 13:25:23
by kbocek
TrevorH wrote:Using the scl command
Thanks.
Re: Install Python 2.7
Posted: 2017/10/31 17:34:06
by kbocek
Now that I've reacquainted myself with SCL, how do I install Protobuf under Python27?
I've tried compiling and installing the source.
I've tried installing the RPM that's available.
I've tried 'pip install' on this source:
https://pypi.python.org/pypi/protobuf/2.6.1
Does anyone have any idea how to get protobuf installed in /opt/rh/python27?
Re: Install Python 2.7
Posted: 2017/10/31 18:27:41
by kbocek
I think I have that fixed. Now how about qt4. It's installed and working under the default Python 2.6. How do I get it installed under 2.7?
pip install PyQt
pip install PyQt4
do not work.
Re: Install Python 2.7
Posted: 2017/10/31 18:40:36
by kbocek
Well no I don't have this working. As root I get:
Error: Could not import PyQt4 on Linux systems, you may try 'sudo apt-get install python-qt4'
As a regular user I still get errors for protobuf.