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
File “/usr/lib/python3/dist-packages/trytond/”, line 54, in run
File “/usr/lib/python3/dist-packages/trytond/”, line 149, in init
File “/usr/lib/python3/dist-packages/trytond/”, line 102, in start
File “/usr/lib/python3/dist-packages/trytond/modules/”, line 318, in register_classes
import trytond.res
File “/usr/lib/python3/dist-packages/trytond/res/”, line 8, in
from . import routes
File “/usr/lib/python3/dist-packages/trytond/res/”, line 10, in
from trytond.wsgi import app
File “/usr/lib/python3/dist-packages/trytond/”, 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 -->(
account_coop_ar -->(


This is related to
You must use a version of werkzeug prior to 1.0 when installing series 5.0.