473,769 Members | 6,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.apac he.\n
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apac he
[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.apac he.\n
ImportError: No module named mod_python.apac he

thx
Mar 31 '08 #1
1 4287
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.apac he.\n
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apac he
[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.apac he.\n
ImportError: No module named mod_python.apac he

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
2870
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 "http://www.modpython.org/live/current/doc-html/inst-testing.html". I've added specific information such as Windows filepaths and filenames so there's no ambiguity on what you should do. I encourage you to copy and paste to avoid typing errors. Cheers, Rolfe
2
2197
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 ------------------------------- #!/usr/bin/python import MySQLdb db = MySQLdb.connect(host="localhost", user="root", passwd="mypass", db="my_db") cursor = db.cursor()
0
1607
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 (Internal Server Error). Apache errog.log file looks like : PythonHandler mod_python.publisher: Traceback (most recent call last): PythonHandler
2
2081
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 off-topic. I'm attempting to get mod_python 3.1.4/python 2.4.1 working on Apache 2.0.54 running under OS X. Apache was compiled from source with a simple /configure --enable-so --with-mpm=worker
1
2791
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 are apache version2. mod_python v3.1.14 python2.4 The problem is,when i m running my python script,after starting apache
1
1998
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 : Python 2.4.3,
10
4952
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 mod_python vs. building an application server using Python-based tools like CherryPy, Quixote, Draco, etc.? Thanks.
1
4681
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 and I tried to put the mod_python module to work. the only answer I got was that apache didn't find api structure in the module. afterwards I read I didn't need this module to work with python (only a speed difference as I understand) but the problem...
3
4940
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 "D:/softwares/Apache2.2/htdocs"> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory>
0
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.