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

flask-restplus error #63

Closed
karthikraman opened this issue Nov 22, 2020 · 2 comments
Closed

flask-restplus error #63

karthikraman opened this issue Nov 22, 2020 · 2 comments

Comments

@karthikraman
Copy link
Contributor

Error: While importing "wsgi.wsgi_app", an ImportError was raised:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
  File "/mnt/d/GitHub/jyotisha/wsgi/wsgi_app.py", line 18, in <module>
    from jyotisha.rest_api import run
  File "/mnt/d/GitHub/jyotisha/jyotisha/rest_api/run.py", line 9, in <module>
    from jyotisha.rest_api import api_v1
  File "/mnt/d/GitHub/jyotisha/jyotisha/rest_api/api_v1.py", line 3, in <module>
    import flask_restplus
  File "/usr/local/lib/python3.6/dist-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/local/lib/python3.6/dist-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property
ImportError: cannot import name 'cached_property'
@karthikraman
Copy link
Contributor Author

Is there any easy fix for this @vvasuki ?

@vvasuki
Copy link
Contributor

vvasuki commented Nov 29, 2020

Is there any easy fix for this @vvasuki ?

Google search suggests noirbizarre/flask-restplus#777 (comment)

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