Apparently I need to install apache2-dev. Apparently there isn't such available from yum. I can't even figure out where to download a tarball to do it from source. Ideas? TIA, Quincey ________________________________ From: Markus Falb <markus.falb at fasel.at> To: centos at centos.org Sent: Saturday, April 14, 2012 3:10 PM Subject: Re: [CentOS] Changing Python Version On 14.4.2012 20:40, Quincey Robertson wrote: > Hi; > I am trying to change the default version of python on my centos 5.7 box and leave the old installation. Frustrated by not finding any help online, I went ahead and installed Python 2.6 from the source. It appears to be my default, but when I fire up mod_wsgi, it complains that it can't import os. Please advise. hard to tell without error message, but I guess that mod_wsgi is linked to your old python and wont work with another python. Maybe you have to recompile mod_wsgi too? ...snip $ ldd /usr/lib64/httpd/modules/mod_wsgi.so ... libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0 ... snap... -- Kind Regards, Markus Falb _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos