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 -~----------~----~----~----~------~----~------~--~---