Search code examples
pythondjangodjango-rest-frameworkpython-social-auth

No module named 'rest_frameworkoauth2_provider'


I am setting up a django rest api and need to integrate social login feature.I followed the following link Simple Facebook social Login using Django Rest Framework.

After setting up all , when a migrate (7 th step :- python manage.py migrate ) , getting the error ' ModuleNotFoundError: No module named 'rest_frameworkoauth2_provider' ' . Is there any package i missed? i cant figure out the error.


Solution

  • It looks like you have forgotten to add a comma between ‘rest_framework’ and ‘oauth2_provider’ probably in your INSTALLED_APPS setting