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.
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
USE pip install python-social-auth[django]
instead of pip install python-social-auth
while installing
i havefirst done installpip install python-social-auth
Run
error: No module named 'social_django'
Then i install
pip install python-social-auth[django]
RUN
Operations to perform:Apply all migrations: admin, auth, contenttypes, music, sessions, social_djangoRunning migrations:Applying social_django.0001_initial... OKApplying social_django.0002_add_related_name... OKApplying social_django.0003_alter_email_max_length... OKApplying social_django.0004_auto_20160423_0400... OKApplying social_django.0005_auto_20160727_2333... OKApplying social_django.0006_partial... OK
Running migrations:
For extra support
Migrating from python-social-auth to split social