question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No module named 'social'

See original GitHub issue

Exception Value: No module named ‘social’ Exception Location: /…/python3.5/site-packages/social_core/utils.py in import_module, line 53

`/python3.5/site-packages/social_django/utils.py in wrapper

            return func(request, backend, *args, **kwargs)

 `

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
chidimocommented, May 14, 2018

I am encountering same issue.

Exception Type: | ModuleNotFoundError Exception Value: | No module named 'social'

I have upgraded to latest version, still same error.

So I tried to install social, but then the process led to an endless series of installs. Each package I installed led to a new missing package. So far I’ve installed the following pip install social pip install splinter pip install networkx pip install gmane pip install lxml pip install numpy

Now the missing package is parsedatetime. I just stopped. But why was this issue closed without any resolution offered? Not even a link or a comment or any such thing.

Finally I got my login working by doing pip install python-social-auth.

The documentation of social-auth-app-django doesn’t even mention such a thing.

11reactions
omabcommented, Jul 9, 2018

@coler-j, @diegotejadav: python-social-auth is the old and deprecated library, by doing that you are using code that’s old and not maintained anymore. The import error is report is very likely caused by settings that still point to the old library instead of the new one, some options to correct this:

  1. Update any backend in AUTHENTICATION_BACKENDS that still reads social.backends to be social_core.backends
  2. Update any SOCIAL setting that points to social.apps.django.* to be social_django.*
Read more comments on GitHub >

github_iconTop Results From Across the Web

Django: ImportError: No module named social.apps.django_app
It looks like you need to install a module on your ubuntu machine that already exists on your windows 7 environment.
Read more >
ModuleNotFoundError: No module named 'social'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'social' How to remove the ModuleNotFo.
Read more >
Django : Django: ImportError: No module named social.apps ...
Django : Django: ImportError: No module named social.apps.django_app [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Django : Django: ...
Read more >
python-social-auth with Django: ImportError: No ... - YouTube
Django : python- social -auth with Django: ImportError: No module named 'social_django' [ Beautify Your Computer ...
Read more >
How to solve this error “ No module named 'social_django' ”
just run this command and your problem will be solve . pip install social-auth-app-django. note : stack : python 3.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found