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 -->(http://github.com/tryton-ar/account_ar):
account_coop_ar -->(http://github.com/gcoop-libre/account_coop_ar)

Thnx!!

This is related to http://bugs.tryton.org/issue9042
You must use a version of werkzeug prior to 1.0 when installing series 5.0.