python-social-auth with Django: ImportError: No module named 'social_django' 解決方法

To use Django with python social auth, you need to install the Django app as well.python

You can specify that you want to install the extra requirements for Django when you install python-social-auth:django

pip install python-social-auth[django]

Or, in this case, you can install the missing package individually:app

pip install social-auth-app-django

Probably you should use pip 3:ui

pip3 install social-auth-app-django

reference:https://stackoverflow.com/questions/41635052/python-social-auth-with-django-importerror-no-module-named-social-djangothis

相關文章
相關標籤/搜索