flask-rauth
flask-rauth copied to clipboard
rauth.service.Response ImportError due to rauth api change
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
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