[mod_python] Re: Vampire does not support packages?

Stephane Bortzmeyer bortzmeyer at nic.fr
Fri Nov 21 03:26:23 EST 2008


On Thu, Nov 20, 2008 at 10:43:32PM +1100,
 Graham Dumpleton <graham.dumpleton at gmail.com> wrote 
 a message of 77 lines which said:

> Where is codevnic installed? 

Both in sys.path (/usr/local/lib/python2.5/site-packages, checked with
Python that it is indeed in sys.path) and in Apache DocumentRoot. Same result.

I have:

PythonOption VampireImportHooks On

(otherwise, my Cheetah modules are not found.)

The rest of the config is:

             SetHandler mod_python
             PythonHandler vampire
             PythonDebug On
             PythonOption VampireImportHooks On
             PythonOption VampireDefaultHandlers On
             PythonOption VampireDirectoryIndex index

Same issue with Vampire 1.7 and 1.8


More information about the Mod_python mailing list