[mod_python] mod_python + apache + winxp => could not importmod_python.apache

Lee Brown administrator at leebrown.org
Wed Apr 12 07:48:18 EDT 2006


I think it actually IS relevant.  I've gone back and looked over the code
samples from this thread, and if Berco is using the as-distrubuted Windows
binaries for Apache, Python, and Mod Python then his setup ought to be
working fine.  I suspect that there may be a users/groups/permissions issue.

FWIW, on my XP setup I created a special user for the Apache service to run
as, and then specifically granted permissions for that user on all the
resources it needs to access.

Best Regards,
Lee E. Brown
(administrator at leebrown.org)

-----Original Message-----
From: mod_python-bounces at modpython.org
[mailto:mod_python-bounces at modpython.org] On Behalf Of Graham Dumpleton
Sent: Tuesday, April 11, 2006 5:12 PM
To: cyberco
Cc: mod_python at modpython.org
Subject: Re: [mod_python] mod_python + apache + winxp => could not

One of the things I remember Nicolas sometimes suggesting is that if Apache
is run as service, make sure that the user the service runs as actually has
read abilities on directories where Python site-packages are stored. But
then, I have lost track of what the original problem was so this may not be

More information about the Mod_python mailing list