On Tue, May 20, 2008 at 8:23 AM, lorax <[EMAIL PROTECTED]> wrote:

>
> I've just got the keys to Django 0.96.2 on a semi-dedicated server at
> WestHost. Largely spurred on by the receipt of the first of 4 Django
> books. I fetched a copy of the download using wget and untarred the
> file right from the command line on the server. I then attempted to
> add django-admin.py to the server path and restarted the server. Then
> I tried to execute the command django-admin.py startproject mysite.
> That gave me an error:
>
> -sh: /usr/local/Django-0.96.2/django/bin/django-admin.py: /usr/bin/
> env: bad interpreter: No such file or directory
>
> I thought my symlink might be bad so I tried executing the command
> using the full path to django-admin.py which gave me the same message.
> Since the files never touched a Windows machine could I still have a
> hidden character in there? If so, how do I get rid of it? Or what else
> might be the issue.
>
>
django-admin.py is trying to run /usr/bin/env to launch python.  It sounds
like your host does not have /usr/bin/env?  What happens if you try the
command:

/usr/bin/env --help

from a command prompt?

Karen

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