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_django'/'social'

See original GitHub issue

Hello. I installed social-auth-app-django, but if I try to run migrate, I get following error message: Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line 353, in execute_from_command_line utility.execute() File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line 327, in execute django.setup() File "C:\Python34\lib\site-packages\django\__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "C:\Python34\lib\site-packages\django\apps\registry.py", line 85, in populate app_config = AppConfig.create(entry) File "C:\Python34\lib\site-packages\django\apps\config.py", line 90, in create module = import_module(entry) File "C:\Python34\lib\importlib\__init__.py", line 109, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 2254, in _gcd_import File "<frozen importlib._bootstrap>", line 2237, in _find_and_load File "<frozen importlib._bootstrap>", line 2224, in _find_and_load_unlocked ImportError: No module named 'social_django'

If I use python-social-auth, I get following the same error message: ImportError: No module named 'social'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
berluskunicommented, Jan 14, 2017

I helped the decision! pip install python-social-auth[django] or pip install social-auth-app-django and in INSTALLED APPS … … ‘social_django’, ‘social.apps.django_app.default’, Good luck

0reactions
amrhassabcommented, Mar 14, 2021

I solved my problem. It was because virtual environment. I forgot active it

Also dont forget to enter shell before installing for example run ‘pipenv shell’

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'grappellidjango'
My username says a lot about me xd I've typed "grappelli" in INSTALLED_APPS with a misspell.
Read more >
ModuleNotFoundError: no module named Python Error [Fixed]
In the case of the title, the "module named Python" cannot be found. Python here can be any module. Here's an error when...
Read more >
How to Fix ModuleNotFoundError and ImportError
Module imports can certainly frustrate people and especially those who are fairly new ... import aModuleNotFoundError: No module named 'a'.
Read more >
Resolve "ImportError: No module named" in AWS Glue
When I try to import extra modules or packages using the AWS Glue Python shell, I get an "ImportError: No module named" response....
Read more >
Error: “ModuleNotFoundError: No Module Named... - Intel
Quick step to build the Open Model Zoo Python* Model API package.
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