Traceback (most recent call last):
File "/home/hassan/.local/bin/trytond-admin", line 21, in <module>
admin.run(options)
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/admin.py", line 54, in run
installdeps=options.installdeps)
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/pool.py", line 152, in init
self.start()
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/pool.py", line 105, in start
register_classes()
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/modules/__init__.py", line 341, in register_classes
import trytond.ir
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/ir/__init__.py", line 5, in <module>
from .translation import *
File "/home/hassan/.local/lib/python2.7/site-packages/trytond/ir/translation.py", line 19, in <module>
from relatorio.reporting import MIMETemplateLoader
File "/home/hassan/.local/lib/python2.7/site-packages/relatorio/__init__.py", line 12, in <module>
from . import templates
File "/home/hassan/.local/lib/python2.7/site-packages/relatorio/templates/__init__.py", line 6, in <module>
__import__('relatorio.templates.%s' % name)
File "/home/hassan/.local/lib/python2.7/site-packages/relatorio/templates/opendocument.py", line 16, in <module>
import urllib.parse
ImportError: No module named parse
Tryton 4.8 is the latest version that supported Python2.7 and is also deprecated since November 2019.
I will recomend switching to python3 which will support newer series which are alreay mantained.
The problem is that you are using a relatorio version which only support Python3, but as you are using python2 an error is raised. You should downgrade to a version that supports python2.
I guess you will have the same issue for other required libraries so it will be easier to upgrade your python version than downgrading all dependencies.