Instal kobo on own server

Hi Community,
Im trying to instal kobo on own server but I have faced the following error. Can you please advise.
———————————————
root@srv4684557953:~/kobo-install# python3 run.py --setup
Traceback (most recent call last):
File “run.py”, line 24, in
from helpers.command import Command
File “/root/kobo-install/helpers/command.py”, line 8, in
from helpers.config import Config
File “/root/kobo-install/helpers/config.py”, line 18, in
from helpers.upgrading import Upgrading
File “/root/kobo-install/helpers/upgrading.py”, line 2
from future import annotations
^
SyntaxError: future feature annotations is not defined

Which OS and Python version do you have?

Hi
OS: Ubuntu 18.04.3
Py: Python 3.6.9
Docker: 20.10.21

Looks like Python version, my recommendation: use a newer Ubuntu 20.04 or 22.04

1 Like