Re: Changing Python Version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux