[mod_python] Cannot load mod_python.so into apache(2):

HaRa hara at oderwat.de
Tue Oct 14 17:39:26 EST 2003


I just can repeat something I wrote some days ago...

The Windows binaries I d/l from sourceforge had a link to python 2.2 even when they are announced for python 2.3 (only).
So it was using my python22.dll... and my own apache-extension modules (in 2.3 dir of python) where not found.

- Hans

-----Original Message-----
From: mod_python-bounces at modpython.org [mailto:mod_python-bounces at modpython.org]On Behalf Of Manera, Villiam
Sent: Tuesday, October 14, 2003 12:35 PM
To: mod_python at modpython.org
Subject: [mod_python] Cannot load mod_python.so into apache(2):

I have followed the whole history of mod_python.so,...:
>Gregory (Grisha) Trubetskoy grisha at modpython.org 
>Mon Sep 15 10:32:10 EST 2003 
>This is typically a mismatch of mod_python.so and the version of Python
>you have on your system. For some reason windows says "module cannot be
>found" whereas it really means "i had problems loading it".
>The mod_python binary available from Apache sites should be compatible
>with Python 2.2.x, but not 2.3.
but mod_python-3.1.0a.win32-py2.3.exe seems for python 2.3
I have decided to migrate from python 2.2 to 2.3 just for try session... on mod_python 3.1.0a
what I have to do :-( ??

Environment on win2000:
python 2.3.2
apache 2.0.47
mod_python 3.0.3 or 3.1.0a (boot the same error)
C:\Programmi\Apache Group\Apache2\bin>apache.exe
Syntax error on line 173 of C:/Programmi/Apache
Cannot load C:/Programmi/Apache Group/Apache2/modules/mod_python.so into
Impossibile trovare il modulo specificato.

172 #LoadModule ssl_module modules/mod_ssl.so
173 LoadModule python_module modules/mod_python.so
my step:
with python 2.2.2 all work fine
uninstalling Python 2.2.2 and mod_python 3.0.3
installing python 2.3.2 and again mod_python 3.0.3 or 3.1.0a 
....load problem 
Any clues on what I need to do to get mod_python working under python 2.3?

Villiam Manera 
Dirett.  Sistema Informativo 
Manifatture del Nord srl 
viale Regina Elena 13-15 
42100 Reggio Emilia RE 
Tel. +39 0522 508200 
Fax +39 0522 514099 
email : vmanera at manord.com 

More information about the Mod_python mailing list