472,954 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Python integration problem

2
Hi, im new at Python and i'm having problems putting it online.

this is the plataform:
Windows XP Professional SP2
Apache/2.2.4 (Win32) http://switch.dl.sourceforge.net/sou...amp5_1.7.3.exe
Python 2.5.1 http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi
mod_python 3.3.1 http://apache.rediris.es/httpd/modpy...-Apache2.2.exe

I started putting this line into http.conf:

Expand|Select|Wrap|Line Numbers
  1. LoadModule mod_python modules/mod_python.so
but, there was an error startin up the https server:
"httpd.exe: Syntax error on line 118 of C:/wamp/Apache2/conf/httpd.conf: Cannot load C:/wamp/Apache2/modules/mod_python.so into server: Could not find specified module."

I solved this adding this before LoadModule into http.conf:
Expand|Select|Wrap|Line Numbers
  1. LoadFile "c:/wamp/python25/python25.dll"
  2. LoadModule mod_python modules/mod_python.so
but then the error was:
"httpd.exe: Syntax error on line 118 of C:/wamp/Apache2/conf/httpd.conf: Can't locate API module structure `mod_python' in file c:/wamp/Apache2/modules/mod_python.so: No error"

so, what is the problem? the error puts "No error", cant figure out what this means.

so, if someone can help me i will be greatfull!! =)

thanx in advance

PS:sorry my english.... =P
Nov 13 '07 #1
3 3227
bartonc
6,596 Expert 4TB
I'm not sure we have any WAMP experts around here.
The best I can do is point you to this google search.
Sorry to be of so little help.
Nov 14 '07 #2
oler1s
671 Expert 512MB
Did you mean mod_python.dll and not mod_python.so?

.so files are only on *NIX machines.
Nov 15 '07 #3
rmompo
2
Did you mean mod_python.dll and not mod_python.so?

.so files are only on *NIX machines.
python25.dll comes with Python 2.5.1installation package
mod_python.so comes with mod_python 3.3.1installation package

it looks like mod_python needs to know where is python25.dll -i think this is the interpreter for python-, it appears to be that it cant run without it, i can cut the LoadFile line, but in that case i must put python25.dll somewhere in the PATH environment variable so mod_python can get it

what do you mean with *NIX? .. Linux / Unix?
i have a another clean WAMP installation and it has mod_php5.so and it's working fine, there is a mod_pythond installation package per SO, you can chek it out at http://httpd.apache.org/modules/python-download.cgi under "Apache Mod_python 3.3.1 is now available" section
Nov 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Irmen de Jong | last post by:
QOTW: "What can I do with Python that I can't do with C#? You can go home on time at the end of the day." -- Daniel Klein "Python lends itself to playing with it and to discussing the merits of...
4
by: Jakub Fast | last post by:
Hi, Does anybody know how far you can get nowadays with trying to use Python as the script language for XUL instead of JS? Is it possible (even theoretically) to write full-fledged applications...
3
by: gohaku | last post by:
Hi everyone, I would like to know if it's possible to use python (libraries) in a Java Program. I do not want to use: Process proc = Runtime.getRuntime.exec(command) I am basically looking for...
36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
0
by: Wolfgang Keller | last post by:
Hello, Python seems to be used quite a lot for (the integration of) enterprise applications. Just as an example, there are at least three (projects for the implementation of) ERP systems in...
9
by: Dieter Vanderelst | last post by:
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our...
19
by: Nicolas Pernetty | last post by:
Hello, I'm looking for any work/paper/ressource about continuous system simulation using Python or any similar object oriented languages (or even UML theory !). I'm aware of SimPy for...
40
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I'm really annoyed at Python - and not for the reasons already mentioned on this list. Everyone know that programming is supposed to be a dark art, nearly impossible to learn. Computer code is...
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
5
by: Hussein B | last post by:
Hi. Please correct my if I'm wrong but it seems to me that the major continuous integration servers (Hudson, CruiseControl, TeamCity ..) don't support Python based application. It seems they...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.