validatedid / eidas-bridge

This repo contains an implementation of an eIDAS Bridge Library in Python.
Apache License 2.0
11 stars 5 forks source link

The eidas-bridge docker does not start #10

Open tomasbbb opened 4 years ago

tomasbbb commented 4 years ago

Traceback (most recent call last): File "/code/demo/eidas_start_demo.py", line 10, in from demo.eidas_bridge_api import init_api_server File "/code/demo/eidas_bridge_api.py", line 7, in from flask_restplus import Resource, Api, fields, abort File "/usr/local/lib/python3.7/dist-packages/flask_restplus/init.py", line 4, in from . import fields, reqparse, apidoc, inputs, cors File "/usr/local/lib/python3.7/dist-packages/flask_restplus/fields.py", line 17, in from werkzeug import cached_property ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/local/lib/python3.7/dist-packages/werkzeug/init.py)

Tested under under linux ubuntu 16.04

6d7a commented 4 years ago

I was able to circumvent the error by using flask-restx instead of flask-restplus. File "/code/demo/eidas_bridge_api.py", line 7 from flask_restx import Resource, Api, fields, abort File "/code/requirements.demo.txt", add flask-restx