Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The eidas-bridge docker does not start #10

Open
tomasbbb opened this issue May 27, 2020 · 1 comment
Open

The eidas-bridge docker does not start #10

tomasbbb opened this issue May 27, 2020 · 1 comment

Comments

@tomasbbb
Copy link

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
Copy link

6d7a commented Jul 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants