Comments (8)
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.
from social-app-django.
@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:
- Update any backend in
AUTHENTICATION_BACKENDS
that still readssocial.backends
to besocial_core.backends
- Update any
SOCIAL
setting that points tosocial.apps.django.*
to besocial_django.*
from social-app-django.
I also just ran into this issue. Weird. Never seen this before and I have been using this library alot. First time with Django 2.0.5 and python 3.6.5 though. I just had social-auth-app-django
in my requirements and also needed to add python-social-auth
and then it works.
from social-app-django.
@chidimo, your solution worked for me! thanks a lot! 😄
pip install python-social-auth
from social-app-django.
@diegotejadav, the new library is the one you are currently posting comments on, social-app-django.
I don't have examples for DRF.
from social-app-django.
I encountered the same error.
After pip installing social, it lead to a series of other 'no module' errors.
It ended with "ImportError: No module named 'mass' ", to which pip install doesn't work.
Why was this closed?
from social-app-django.
@omab, and what's the new library I can use? I don't want to be using old ones.
One more thing, have you some example of using OAuth 2 with Django Rest Framework, but once again... an updated source, not an deprecated one.
Thanks for your answer.
from social-app-django.
@omab jaja!, I'm sorry, thank you so much!
from social-app-django.
Related Issues (20)
- SAML redirect loses session data storing "next" url and RelayState cannot be used instead
- Requiring POST method by default HOT 1
- Social Auth with Gmail SSO Causing Error --> 'str' object has no attribute 'get' HOT 2
- 5.2.0 not compatible with Django >= 4.2.2
- How to override a field of `AbstractUserSocialAuth` HOT 1
- IrreversibleError when migrating app zero for a new DB HOT 1
- Subclassing AbstractUserSocialAuth creates migration in social_django app. HOT 1
- 5.3.0 migrations feedback HOT 9
- Deprecated Sign In with LinkedIn HOT 2
- Enhance Django OAuth Library for Clean JSON Responses in API Development
- Linkedin complete login step is stuck
- AWS Cognito - Invalid scope error on authentication request HOT 1
- Update to social-core 4.5.2 HOT 1
- OPEN FOR MAINTAINERS
- Problem with facebook when email is added to scope, redirect url is not correct
- Accidental incompatible behavior change in version 5.4.1 HOT 2
- AttributeError: 'NoneType' object has no attribute 'provider' HOT 2
- [Help] Best practice for multiple browser/client connection?
- Google OAuth not working on production server (hosted on heroku), works fine on localhost
- Bug in social_auth.social_user pipeline stemming from AbstractUSerSocialAuth.get_social_auth HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from social-app-django.