Does not matter where you install them Did you run python setup.py install from inside django dir?
Sent from my iPhone On 19-Jun-09, at 5:18 PM, 78fxs <smyth...@gmail.com> wrote: > > All righty...not only am i new to django and python, i am new to using > the terminal on my mac. so this is going to be mickey mouse stuff. > > i have a few things going on: > > 1. i think some of my confusion is knowing where these django and > python folders should be. after i install python and django, should i > move the "djanjo-1.0.2-final" and "python 2.6.2" folders to my > applications folder? > > 2. when i installed django i was told that permission was denied to > create /usr/local/bin. i think that is creating a problem for me now. > at one point as i tried to troubleshoot the problem below, i manually > created the directories: ~user/usr/local/bin . Now, that's not where > my Python or django folders are - they're in the applications folder. > i don't know if that helped or just screwed it up. is usr/local/bin > supposed to be in my root user directory? > > 3. when i type the command "django-admin.py startproject mysite" i get > command not found. i believe that is due to django-admin.py not being > on my system path (page 14 of the django book). so, i need to use this > "sudo ln ... " command, right? i found out out where my python site > directory is, using this command from Webmonkey: > python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > > I get this result: /Library/Python/2.5/site-packages > > I've tried a bunch of ways to do the sudo ln command but i can't get > it to work. sometimes it says "file already exists" and other times > "no such user or directory" or an "illegal option." what is the > correct way to enter that command? And do i need to enter my password > for that command, as the Webmonkey tutorial says? > > By the way, > when i type echo $PATH i get: > /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > > No idea what that means. > > I realize this is a bit of a mess. But this is what it's like to start > out I guess. > > Thanks for your assistance. > > Steve > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---