Error on installation of version 5.0.0

Hi everybody, i have this error when id run the command
trytond-admin -c /etc/tryton/trytond.conf -d tryton_test --all

Traceback (most recent call last):
File “/home/nenu/.local/bin/trytond-admin”, line 21, in
admin.run(options)
File “/usr/lib/python3/dist-packages/trytond/admin.py”, line 54, in run
activatedeps=options.activatedeps)
File “/usr/lib/python3/dist-packages/trytond/pool.py”, line 149, in init
self.start()
File “/usr/lib/python3/dist-packages/trytond/pool.py”, line 102, in start
register_classes()
File “/usr/lib/python3/dist-packages/trytond/modules/init.py”, line 318, in register_classes
import trytond.res
File “/usr/lib/python3/dist-packages/trytond/res/init.py”, line 8, in
from . import routes
File “/usr/lib/python3/dist-packages/trytond/res/routes.py”, line 10, in
from trytond.wsgi import app
File “/usr/lib/python3/dist-packages/trytond/wsgi.py”, line 13, in
from werkzeug.wsgi import SharedDataMiddleware
ImportError: cannot import name ‘SharedDataMiddleware’

need this version because the module i try to install not work in version 5.4 those are the modules

account_ar -->(GitHub - tryton-ar/account_ar):
account_coop_ar -->(GitHub - gcoop-libre/trytond-account_coop_ar: Trytond account plan for cooperatives of Argentina)

Thnx!!

This is related to Trytond 5.0 compatibility with werkzeug 0.16 (#9042) · Issues · Tryton / Tryton · GitLab
You must use a version of werkzeug prior to 1.0 when installing series 5.0.