On Apr 24, 2:28 pm, bconnors <[email protected]> wrote:
> I created a djsite folder and put new django there
>
> pubu...@pubuntu:~/djsite/mysite$
> + svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk
> Checked out revision 10630.
> pubu...@pubuntu:~/djsite/mysite$
>
> then did
>
> pubu...@pubuntu:~/djsite/mysite$ python manage.py runserver
> Validating models...
> mysite.polls: __init__() got an unexpected keyword argument
> 'max_length'
> 1 error found.
>
> Django version 0.96.1, using settings 'mysite.settings'
> Development server is running athttp://127.0.0.1:8000/
> Quit the server with CONTROL-C.
>
> I read about python -c "from distutils.sysconfig import
> get_python_lib;
> But
> pubu...@pubuntu:~/djsite/mysite$ sh -x w
> + python -c from distutils.sysconfig import get_python_lib;
> pubu...@pubuntu:~/djsite/mysite$
>
> that doesn’t tell me where my site-packages are.
>
> How do I find out where this Django version 0.96.1, is coming from?

You're missing the part to actually call get_python_lib in your shell
command:
$ python -c "from distutils.sysconfig import get_python_lib;print
get_python_lib()"

On my Mac, this prints
Library/Python/2.5/site-packages

--
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to