New install on Ubuntu 18.04 fails at setup-kegbot.py

Hey,

I’m having a hard time installing Kegbot Server on an Ubuntu 18.04 server. I’m using this guide. I’ve downloaded the ZIP file here.

I’ve installed the dependencies without issues, creating the database works well. I got stuck at the setup script ‘setup-kegbot.py’. It throwing all kind off errors.

I hope someone can point me in the right direction

Writing settings to /home/kegbot/.kegbot/local_settings.py …
Finishing setup …
Running command: kegbot syncdb --noinput -v 0
Traceback (most recent call last):
File “/data/kb/bin/kegbot”, line 56, in
django.setup()
File “/data/kb/lib/python2.7/site-packages/django/init.py”, line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File “/data/kb/lib/python2.7/site-packages/django/apps/registry.py”, line 85, in populate
app_config = AppConfig.create(entry)
File “/data/kb/lib/python2.7/site-packages/django/apps/config.py”, line 87, in create
module = import_module(entry)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/data/kb/lib/python2.7/site-packages/imagekit/init.py”, line 3, in
from . import conf
File “/data/kb/lib/python2.7/site-packages/imagekit/conf.py”, line 1, in
from appconf import AppConf
File “/data/kb/lib/python2.7/site-packages/appconf/init.py”, line 1, in
from .base import AppConf # noqa
File “/data/kb/lib/python2.7/site-packages/appconf/base.py”, line 107
class AppConf(metaclass=AppConfMetaClass):
^
SyntaxError: invalid syntax
ERROR: Command returned non-zero exit status (1)