It is most likely an improper reference in django-admin.py to the
location of python - or the "wrong" python.

If you invoke python in your terminal, which do you get?

BTW: I used the MacPorts install of Python, and I keep the following
in my .profile:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

which does the trick for my installation.

-joe

On 8/25/07, Brandon Taylor <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I'm just getting started with Django/Python. I have installed Python
> 2.4.4, and Django from the latest build. I can run 'python' and
> 'import django' from bash and it does not error out, so I'm assuming
> my installs are correct.
>
> I have made an alias of 'django-admin.py' and placed it in my '/usr/
> local/bin'. When I attempt to run 'django-admin.py startproject foo',
> bash gives me an error:
>
> -bash: django-admin.py: command not found
>
> What can I do to resolve this error? All of my .bash_profile
> and .bash_login PATH settings seem to be pointing in the right place
> for my django installation.
>
> Thanks in advance,
> Brandon
>
>
> >
>

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