Did you, "chmod +x django-admin.py"?

On Thu, May 8, 2008 at 6:52 AM, Francis <[EMAIL PROTECTED]> wrote:

>
> It works without problem here.
>
> 1. I copy my trunk into the default python site-package /Library/
> Python/2.5/site-packages/django
>
> Normally I use /usr/bin, since local/bin doens't exist on Leopard
> (exept if you are using something like fink or macport)
> But I tried it to see if it works.
> 2. I create the directory : sudo mkdir /usr/local/bin
> 3. then symlink : sudo ln -sf /Library/Python/2.5/site-packages/django/
> bin/django-admin.py /usr/local/bin/django-admin.py
>
> it works. /usr/local/bin is already in your path.
>
> Francis
>
> On May 7, 6:46 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> > Hello everyone,
> >
> > I'm setting up a dev environment on a co-worker's Mac running 10.5.2
> >
> > I have Django cehcked out from trunk, and symlinked into Python 2.5.2.
> > I can successfully import Django from within a Python terminal
> > session.
> >
> > I have django-admin.py symlinked from the trunk checkout to /usr/local/
> > bin.
> >
> > When I try to execute: django-admin.py startproject foo, I get an
> > error saying:
> > django-admin.py: command not found
> >
> > I have added /usr/local/bin to my .bash_profile, resourced, and
> > restarted, but still no dice. Anyone have any ideas on what I did
> > wrong? I've doen this many times, just not on 10.5.
> >
> > TIA,
> > Brandon
> >
>


-- 
Shane Emmons
E: [EMAIL PROTECTED]

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