[mod_python] Wierd problem with API version mismatch

Tim Parker (UK) tim.parker at intec-telecom-systems.com
Tue Jan 21 09:38:29 EST 2003


Thanks for that,

I have managed to sort out the problem now; it is to do with the Path
Environment Variable that Apache was running under, which has python (1.5)
as the first python executable on it, so this was causing the version
mismatch.  The only thing I am unsure about is where Apache is
getting/setting this environment variable as for all users the python
version that is on their path is version 2.2.1 (the one I want to use).  As
a work around I have linked python 2.2.1 to /bin/python and it now seems to
work without any problems.

Thanks again
Tim.

-----Original Message-----
From: Gregory Bond [mailto:gnb at itga.com.au]
Sent: 20 January 2003 22:17
To: Tim Parker (UK)
Subject: Re: [mod_python] Wierd problem with API version mismatch 

> warning: Python C API version mismatch for module strop: This Python has
API
> version 1011, module strop has version 1007.

My guess is that you have multiple versions of python installed, and apache
is
picking up a different python version based on a different PATH environment
or some such.


This e-mail and any attachments are confidential and may also be privileged and/or copyright 
material of Intec Telecom Systems PLC (or its affiliated companies).  If you are not an 
intended or authorised recipient of this e-mail or have received it in error, please delete 
it immediately and notify the sender by e-mail.  In such a case, reading, reproducing, 
printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. 
Intec Telecom Systems PLC. does not represent or warrant that an attachment hereto is free 
from computer viruses or other defects. The opinions expressed in this e-mail and any 
attachments may be those of the author and are not necessarily those of Intec Telecom 
Systems PLC. 

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20030121/96466f65/attachment-0003.htm


More information about the Mod_python mailing list