Re: [dsa] Probleme Install with django 1.8 on python3

80 views
Skip to first unread message
Message has been deleted

Matias Aguire

unread,
May 30, 2015, 9:25:14 PM5/30/15
to django-so...@googlegroups.com

Django-social-auth is a deprecated library, it doesn't support Python 3.

Geoffrey Trambolho <geoffrey....@gmail.com> writes:
> Hi everyone,
>
> I tried to install django-social-auth into my virtual env, I'm working on a
> Python3 django 1.8 env.
>
> It's what appened when I executed the pip install command. It's awful I
> don't understand this message.
>
> Sorry for my english (I'm french dude ;) )
>
> (evnd-env)MacBook-Air-de-Geoffrey:evend-site geoffreytrambolho$ pip install
> django-social-auth
> Collecting django-social-auth
> Using cached django-social-auth-0.7.28.tar.gz
> Requirement already satisfied (use --upgrade to upgrade): Django>=1.2.5 in
> /Users/geoffreytrambolho/Documents/Virtualenvs/evnd-env/lib/python3.4/site-packages
> (from django-social-auth)
> Collecting oauth2>=1.5.167 (from django-social-auth)
> Using cached oauth2-1.5.211.tar.gz
> Complete output from command python setup.py egg_info:
> Traceback (most recent call last):
> File "<string>", line 20, in <module>
> File
> "/private/var/folders/ks/l4l24x2n6dgbbjcj13t25k0r0000gn/T/pip-build-f4vwjt87/oauth2/setup.py",
> line 18
> print "unable to find version in %s" % (VERSIONFILE,)
> ^
> SyntaxError: invalid syntax
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /private/var/folders/ks/l4l24x2n6dgbbjcj13t25k0r0000gn/T/pip-build-f4vwjt87/oauth2
> (evnd-env)MacBook-Air-de-Geoffrey:evend-site geoffreytrambolho$ nano
> /private/var/folders/ks/l4l24x2n6dgbbjcj13t25k0r0000gn/T/pip-build-f4vwjt87/oauth2/setup.py

--
Matías Aguirre
http://matiasaguirre.net/
Message has been deleted
Message has been deleted

Matias Aguire

unread,
May 31, 2015, 7:28:51 PM5/31/15
to django-so...@googlegroups.com

You need to switch to python-social-auth[1] instead, it supports Django
1.8 and Python 3, docs are available here[2].

[1]: https://github.com/omab/python-social-auth
[2]: http://psa.matiasaguirre.net/docs/index.html

Geoffrey Trambolho <geoffrey....@gmail.com> writes:
> Thx ! ;)
>
> How can I replace it ? Because I downgrade my project to python 2 and I
> don't like that I wish to work on Py3 env :)
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django Social Auth" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-social-auth/Zj652BdgmJ0/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> django-social-a...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Matias Aguire

unread,
May 31, 2015, 7:34:48 PM5/31/15
to django-so...@googlegroups.com

Psycopg supports Python3 according to their docs[1].

[1]: http://initd.org/psycopg/docs/install.html

Geoffrey Trambolho <geoffrey....@gmail.com> writes:
> Thx ! and for the postgre db, have you some tips for me ?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages