[mod_python] Test fails on Mac OS X, Apache 2.0, mod_python 3.2.8

Todd O'Bryan toddobryan at mac.com
Sun Mar 26 19:18:36 EST 2006


After fighting a long time with Apache (Mac OS X Server is really  
nice, but figuring which version of Apache I'm running--the built-in  
1.3 or my own install--was a major pain), I finally have a 2.0  
version serving pages. But when I tried to get mod_python working, I  
got this error:

[Sun Mar 26 19:12:01 2006] [error] make_obcallback: could not import  
mod_python.
apache.\n
Traceback (most recent call last):
   File "/sw/lib/python2.4/site-packages/mod_python/apache.py", line  
24, in ?
     import pdb
   File "/sw/lib/python2.4/pdb.py", line 11, in ?
     from repr import Repr
   File "/sw/lib/python2.4/repr.py", line 6, in ?
     from itertools import islice
ImportError: Failure linking new module: /sw/lib/python2.4/lib- 
dynload/itertools
.so: Symbol not found: __PyArg_NoKeywords
   Referenced from: /sw/lib/python2.4/lib-dynload/itertools.so
   Expected in: dynamic lookup

Believe it or not, Google returned NO pages for __PyArg_NoKeywords.  
Any ideas?

Thanks,
Todd


More information about the Mod_python mailing list