omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

[Flask] ImportError: cannot import name PSABase #1075

Closed jingz closed 7 years ago

jingz commented 7 years ago

backtrack

  File "../lib/python2.7/site-packages/social/apps/flask_app/default/models.py", line 1, in <module>
    from social_flask.models import PSABase, _AppSession, UserSocialAuth, Nonce, \
ImportError: cannot import name PSABase

packages installed

python-social-auth (0.3.2)
social-auth-app-flask (0.1.0)
social-auth-app-flask-sqlalchemy (0.0.1)
social-auth-core (0.1.0)
omab commented 7 years ago

I've published 0.3.3 with the proper fix.