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

ImportError: cannot import name '_endpoint_from_view_func' #318

Closed
radhasaraf opened this issue May 20, 2021 · 1 comment
Closed

ImportError: cannot import name '_endpoint_from_view_func' #318

radhasaraf opened this issue May 20, 2021 · 1 comment

Comments

@radhasaraf
Copy link

radhasaraf commented May 20, 2021

I recently upgraded my flask version to 2.0.0
I get the following error:

  File "/home/radha/data-mining-backend/venv/lib/python3.6/site-packages/flask_restx/api.py", line 20, in <module>
    from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func'

flask-restx version: 0.2.0
Related: flask-restful issue around the same error
PS: I tried upgrading to flask-restx 0.3.0, where the issue persists, whereas flask-restx 0.4.0 is not compatible with flask 2.0.0

@j5awry
Copy link
Contributor

j5awry commented May 20, 2021

This is known. please see #313 and #308 for more information

@j5awry j5awry closed this as completed May 20, 2021
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