You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: