I think that the install from the website instructions worked.  Your
code helped me understand what I needed to do.  thanks!

On Jul 14, 6:04 am, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Ok, getting somewhere.  That is the dir that needs to know about django.
>
> Next we need to know where django is, and 'install' that into the 
> site-packages
> dir.  'install' is just a link, .pth file or putting django directly in that
> dir.  I recommend the link.
>
> more details are 
> here:http://www.djangoproject.com/documentation/install/#install-the-djang...
>
> if you still have problems, post the following:
> 1. What version of django you want (official release, or development version.)
> 2. Where the django code is
> 3. what django references are currently in your site-packages dir.
>
> For #3, do  ls -ld django* in your site-packages dir, like this:
>
> [EMAIL PROTECTED]:~$ python -c "from distutils.sysconfig import 
> get_python_lib; print
> get_python_lib()"
> /usr/lib/python2.5/site-packages
>
> [EMAIL PROTECTED]:~$ cd /usr/lib/python2.5/site-packages
>
> [EMAIL PROTECTED]:/usr/lib/python2.5/site-packages$ ls -ld django*
> lrwxrwxrwx 1 root root 36 2007-06-25 23:30 django ->
> /home/carl/django/django-src/django/
>
> Carl K
>
> surfwizz wrote:
> > Sorry about that.  Thanks for the tip on using copy/paste.  Here's the
> > result for that:
> > new-host-3:~ wdavis$ python -c "from distutils.sysconfig import
> > get_python_lib; print get_python_lib()"
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> > packages
>
> > On Jul 13, 6:49 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> >> you missed the -c
>
> >> guessing you need to figure out how to cut/paste into your terminal.  I 
> >> think it
> >> is action-v for paste, where action is the cloverleaf.
>
> >> Carl K
>
> >> surfwizz wrote:
> >>> Here's what that looks like:
> >>> new-host-3:~ wdavis$ python "from distutils.sysconfig import
> >>> get_python_lib; print get_python_lib()"
> >>> /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/
> >>> Contents/MacOS/Python: can't open file 'from distutils.sysconfig
> >>> import get_python_lib; print get_python_lib()': [Errno 2] No such file
> >>> or directory
> >>> new-host-3:~ wdavis$
> >>> On Jul 13, 6:16 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> >>>> run this command, show us what you get:
> >>>> python -c "from distutils.sysconfig import get_python_lib; print 
> >>>> get_python_lib()"
> >>>> So like this:
> >>>> [EMAIL PROTECTED]:~$ python -c "from distutils.sysconfig import 
> >>>> get_python_lib; print
> >>>> get_python_lib()"
> >>>> /usr/lib/python2.5/site-packages
> >>>> Carl K
> >>>> surfwizz wrote:
> >>>>> I could not find any folders at the lib location.  To clarify how the
> >>>>> IDLE thing went, I tried running sudo python setup.py, but it didn't
> >>>>> work, so I opened setup.py in IDLE, Then went to 'run', in the
> >>>>> menubar, and clicked 'run module'.  It prompted me to save it, so I
> >>>>> did.  that was the whole python IDLE thing with this.
> >>>>> On Jul 13, 3:40 am, "Dirk van Oosterbosch, IR labs"
> >>>>> <[EMAIL PROTECTED]> wrote:
> >>>>>> On 13-jul-2007, at 5:42, surfwizz wrote:
> >>>>>>> I installed python fromwww.python.org, so the command prompt opens it
> >>>>>>> into 2.5.1.  That's what I tried to install django into.
> >>>>>> Can you confirm that django is installed at this location?
> >>>>>> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> >>>>>> packages/django/
> >>>>>> (try 'locate django' in the Terminal to find out where all of django 
> >>>>>> is)
> >>>>>>> [...] so I just ran setup.py in IDLE as a module.  Is there a way
> >>>>>>> to fix this, or get this install running properly?
> >>>>>> What do you mean 'in IDLE as a module'? AFAIK the correct way to
> >>>>>> install python packages is to run 'sudo python setup.py' from the
> >>>>>> normal command line. Or did you do that?
> >>>>>> best
> >>>>>> dirk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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