[mod_python] ImportError: No module named mod_python.apache

Saeed Bhuta saeed.bhuta at placr.co.uk
Tue Jan 12 04:28:15 EST 2010

Hi All,

I am trying to install mod_python for Apache 2.2 for use with Python 
2.6. An internal server error is displayed when the python is script is 
accessed from the web and Apache's error log has the following:

"*[Tue Jan 12 08:16:56 2010] [error] make_obcallback: could not import 
ImportError: No module named mod_python.apache
[Tue Jan 12 08:16:56 2010] [error] make_obcallback: Python path being 
used "['/usr/local/lib/python2.6', 
'/usr/local/lib/python2.6/plat-linux2', '/usr/local$
[Tue Jan 12 08:16:56 2010] [error] get_interpreter: no interpreter 
callback found.
[Tue Jan 12 08:16:56 2010] [error] [client] 
python_handler: Can't get/create interpreter., referer: 

I have installed Apache 2.2 on Ubuntu Karmic Koala 9.10

Any help is greatly appreciated.


-- ----------------------------------------------------------------
Saeed Bhuta <saeed.bhuta at placr.co.uk>
Software Engineer, Placr Ltd.
Twitter @placrsaeed SkypeID: placrsaeed
+44 20 3239 9993 Office  +44 7903 552369 mobile

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20100112/c04d3fea/attachment.html

More information about the Mod_python mailing list