[mod_python] PythonImport: Can someone please draw a diagram for this idiot?

Jorey Bump list at joreybump.com
Wed Sep 14 16:22:02 EDT 2005


jamestmcneill-python at yahoo.co.uk wrote:

> 3) From this I can see that the PythonImport directive doesn't seem to be
> working at all (or at least, in any way I expected it to). It does not
> produce a compiled version of the module specified, 

This is not unusual. The user that apache runs as must have write 
permissions in the directory in order to produce a .pyc file. I'm not 
sure what happens under Windows regarding this, but if I want a compiled 
version of the module under Linux, I compile it ahead of time or change 
the permissions (rarely).


More information about the Mod_python mailing list