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 "wsgi.py", line 1, in <module>
from server import app
File "./server.py", line 2, in <module>
from flask_sentinel import ResourceOwnerPasswordCredentials, oauth
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/__init__.py", line 1, in <module>
from .flask_sentinel import ResourceOwnerPasswordCredentials, oauth # noqa
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/flask_sentinel.py", line 11, in <module>
from . import views
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/views.py", line 11, in <module>
from .core import oauth
File "/usr/local/lib/python3.7/site-packages/flask_sentinel/core.py", line 10, in <module>
from flask_oauthlib.provider import OAuth2Provider
File "/usr/local/lib/python3.7/site-packages/flask_oauthlib/provider/__init__.py", line 12, in <module>
from .oauth1 import OAuth1Provider, OAuth1RequestValidator
File "/usr/local/lib/python3.7/site-packages/flask_oauthlib/provider/oauth1.py", line 13, in <module>
from werkzeug import cached_property
ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/local/lib/python3.7/site-packages/werkzeug/__init__.py)
As of now, I can only get to work with Werkzeug==0.16.1 only.
The text was updated successfully, but these errors were encountered:
Yes, please, fix this small issue
Change
from werkzeug import cached_property
to
from werkzeug.utils import cached_property
\flask_oauthlib\provider\oauth1.py
Environment:
Python 3.7.6
Eve 1.1
Installed dependencies:
As of now, I can only get to work with Werkzeug==0.16.1 only.
The text was updated successfully, but these errors were encountered: