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

Jorey Bump list at joreybump.com
Wed Sep 14 16:36:50 EDT 2005

Jorey Bump wrote:
> 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).

Having said that, I just tried using the PythonImport statement, and I 
also see no evidence that it works. I may be using or testing it 
incorrectly, however.

More information about the Mod_python mailing list