-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurring in django 1.7 #58
Comments
This is interesting, I'm curious, how did you install django-authtools? |
pip install django-authtools # to inside virutalenv
|
I'm guessing you are using Windows? I've never tried to use authtools on windows, that might be the problem, but I doubt it. |
Yes. I am using Windows. But you should consider that the error does not Em sáb, 3 de out de 2015 às 00:09, Rocky Meza [email protected]
|
I was looking at pkg_resources, what do you get when you run: import pprint
import pkg_resources
pprint.pprint(pkg_resources.working_set.by_key) I made a new temporary environment and installed django-authtools and this is what I got: {'django': Django 1.8.4 (/XXX/.virtualenvs/tmp-d05746e109b81142/lib/python2.7/site-packages),
'django-authtools': django-authtools 1.2.0 (/XXX/.virtualenvs/tmp-d05746e109b81142/lib/python2.7/site-packages),
'pip': pip 6.0.8 (/XXX/.virtualenvs/tmp-d05746e109b81142/lib/python2.7/site-packages),
'python': Python 2.7.10 (/usr/lib64/python2.7/lib-dynload),
'setuptools': setuptools 12.0.5 (/XXX/.virtualenvs/tmp-d05746e109b81142/lib/python2.7/site-packages),
'wsgiref': wsgiref 0.1.2 (/usr/lib64/python2.7)} |
@alexsilva Did you ever figure this out? edit: install from the repo directly with |
For some reason
pkg_resources
can not find the version of the libauthtools
and generates the error below:If the comment line below the error disappears (authtools.init):
pkg_resources.get_distribution('django-authtools').version
See my environment is to:
Python 2.7.9
Django 1.7
Xadmin (branch django 1.7)
Apache2 (with wsgi)
django-authtools
- It is installed in a virtual environment (created with virtualenv).The text was updated successfully, but these errors were encountered: