Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-07-2008, 02:00 PM   #1
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 16
Lightbulb Mod_python: make it work, avoid 'python_handler: Can't get/create interpreter.'

Today I wasted several hours trying to make it work. All over the forums and mailinglist seem that a lot of people is having the same problem, but no real solution, until I found a really 'obvious' issue!

So, if you have errors such as:

make_obcallback: could not import mod_python.apache.\n
ImportError: No module named apache
[Sun Dec 07 20:50:18 2008] [error] make_obcallback: Python path being used
[Sun Dec 07 20:50:18 2008] [error] get_interpreter: no interpreter callback found.
[Sun Dec 07 20:50:18 2008] [error] [client] python_handler: Can't get/create interpreter.

check the permissions on mod_python folder and files! The user under the webserver is running must have access to them.

Yes, I know it's obvious, but it can save you hours of debugging.

More Details


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
make Xconfig doesn't work, make menuconfig does work Debian/KDE bucovaina78 Linux - Kernel 1 10-15-2008 01:26 PM
mod_python - is there an equivalent to $_SERVER['PHP_SELF'] in mod_python? BrianK Programming 2 04-28-2008 09:46 PM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
apache/mod_python problem: ImportError: No module named mod_python.apache BrianK Linux - Software 2 10-10-2007 05:13 PM
/usr/bin/php: bad interpreter :::what install to avoid this message. Thank you sarajevo Linux - Software 1 09-23-2005 09:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration