Open jasco opened 11 years ago
How can this be fixed? I have the same error.
You probably want to use the pre-0.5.x version of rauth, e.g. 0.4.x, if you want to use Flask-Rauth, for the time being. However, I will say that using rauth with Flask is not at all complicated and you may not need this wrapper. Check out the Facebook Flask example.
running the following does resolve that error for me, thanks easy_install rauth==0.4.17
Installed flask-rauth with pip. Seems to have installed: Flask_Rauth-0.3.2-py2.7.egg rauth-0.5.1-py2.7.egg
However the rauth api changed as of https://github.com/litl/rauth/commit/bad95312b7eb87284795c36f7fb0e40e268334d8 so that Response has been removed from service.py
File "/sw/myprog/prog.py", line 4, in
from flask_rauth import RauthOAuth2
File "/sw/myprog/env/local/lib/python2.7/site-packages/flask_rauth.py", line 17, in
from rauth.service import OAuth2Service, OAuth1Service, OflyService, Response, parse_utf8_qsl
ImportError: cannot import name Response