You must copy config.py.sample to config.py and edit it to get it working. If you're using apache, be sure that "Options ExecCGI" and "AddHandler cgi-script .cgi" are in your server config.