473,403 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Problem with mod_python/3.3.1 and apache

Hello,

im using Apache HTTPD 2.2.8 with mod_python/3.3.1 Python/2.4.3 on
Windows and having truble starting pythone, any help would be
appreciated
..
Im getting this error:

[Mon Mar 31 23:53:03 2008] [error] make_obcallback: could not import
mod_python.apache.\n
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Mon Mar 31 23:53:03 2008] [error] make_obcallback: Python path being
used "['C:\\\\Windows\\\\system32\\\\python24.zip', '', 'c:\\\\xampp\\\
\python\\\\DLLs', 'c:\\\\xampp\\\\python\\\\lib', 'c:\\\\xampp\\\
\python\\\\lib\\\\plat-win', 'c:\\\\xampp\\\\python\\\\lib\\\\lib-tk',
'C:\\\\xampp\\\\apache\\\\bin']".
[Mon Mar 31 23:53:03 2008] [error] get_interpreter: no interpreter
callback found.
[Mon Mar 31 23:53:03 2008] [error] [client 127.0.0.1] python_handler:
Can't get/create interpreter., referer: http://localhost/python/
[Mon Mar 31 23:53:25 2008] [error] make_obcallback: could not import
mod_python.apache.\n
ImportError: No module named mod_python.apache

thx
Mar 31 '08 #1
1 4260
On Apr 1, 8:03 am, NccWarp9 <nccwa...@gmail.comwrote:
Hello,

im using Apache HTTPD 2.2.8 with mod_python/3.3.1 Python/2.4.3 on
Windows and having truble starting pythone, any help would be
appreciated
.
Im getting this error:

[Mon Mar 31 23:53:03 2008] [error] make_obcallback: could not import
mod_python.apache.\n
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Mon Mar 31 23:53:03 2008] [error] make_obcallback: Python path being
used "['C:\\\\Windows\\\\system32\\\\python24.zip', '', 'c:\\\\xampp\\\
\python\\\\DLLs', 'c:\\\\xampp\\\\python\\\\lib', 'c:\\\\xampp\\\
\python\\\\lib\\\\plat-win', 'c:\\\\xampp\\\\python\\\\lib\\\\lib-tk',
'C:\\\\xampp\\\\apache\\\\bin']".
[Mon Mar 31 23:53:03 2008] [error] get_interpreter: no interpreter
callback found.
[Mon Mar 31 23:53:03 2008] [error] [client 127.0.0.1] python_handler:
Can't get/create interpreter., referer:http://localhost/python/
[Mon Mar 31 23:53:25 2008] [error] make_obcallback: could not import
mod_python.apache.\n
ImportError: No module named mod_python.apache

thx
See:

http://www.modpython.org/pipermail/m...ch/025022.html

Also search the www.modpython.org site for other discussions/
suggestions in the mod_python mailing list.

Graham
Mar 31 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
2
by: ws Wang | last post by:
MySQLdb is working fine at command line, however when I tried to use it with mod_python, it give me a "server not initialized" error. This is working fine: ----------------------- testmy.py...
0
by: Julien Cigar | last post by:
Hello, I'm using mod_python 3.1.3 with Apache 2.0.54 on a Debian box with the publisher handler and the Clearsilver template engine, and from time to time apache returns an 500 error code...
2
by: Robert J. Hansen | last post by:
I'm not entirely certain comp.lang.python is the proper newsgroup for mod_python questions, but "comp.lang.python.web" doesn't seem to exist, so... my apologies in advance if this is considered...
1
by: neha | last post by:
hi, i m trying to integrate python with apache on linux.For this i m using mod_python. I dont see any problem with the versions of python,apache and mod_python i m using. the versions i m using...
1
by: boney | last post by:
hello All, I am totally unknown to python language.. i need to install mod_python to embed python interpreter with the Apache server, in order to use Trac with Apache Web Server i am using...
10
by: Vincent Delporte | last post by:
Hi I'm still a newbie when it comes to web applications, so would like some help in choosing a solution to write apps with Python: What's the difference between using running it through...
1
by: wadacom | last post by:
I'm sorry to take your time for newbie problems but I've been searching what to do about the problem with my apache server I have. I work with ubuntu dapperdrake I put the last apache server on it...
3
by: joe jacob | last post by:
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added <Directory...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.