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

鄢雅畅
2023-12-01

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

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

pip install python-social-auth[django]

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

pip install social-auth-app-django

Probably you should use pip 3:

pip3 install social-auth-app-django

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

转载于:https://www.cnblogs.com/sfnz/p/7591309.html

 类似资料: