[kforge-user] Installation issue

Rufus Pollock rufus.pollock at okfn.org
Wed Sep 19 18:47:47 BST 2007

Capelle Maxime wrote:
> And after entering the command : /etc/init.d/apache2 force-reload, I
> have got the following error:
> Syntax error on line 20 of
> /etc/apache2/sites-available/kforge.localhost-kforge-generated.conf:
> Invalid command 'PythonInterpreter', perhaps misspelled or defined by a
> module not included in the server configuration
>    ...fail!
> Do I have to include a module that allows the use of the command
> PythonInterpreter?

Yes you need Apache mod-python module installed. On debian this package 
is named (so should be something similar on ubuntu):


To install do:

$ sudo apt-get install libapache2-mod-python

By the way, one warning here: once mod-python is running, if you 
installed kforge using easy_install you are likely to encounter a 
well-known problem documented e.g. here:


Solutions to this problem is documented there, the simplest of which 
involves ensuring that the kforge 'egg' are installed unzipped:

$ sudo easy_install -UZ kforge

Alternatively you can break the existing egg open (probably located at 


More information about the kforge-user mailing list