Not all methods of installing Django on all systems manage to make that file work as a command.
You can use whatever file search tool your system provides to find the file. For example, almost everywhere but windows you can type, at a bash prompt. find / -name django-admin.py 2>& /dev/null And it will tell you the path to the file, e.g.; /a/bunch/of/directory/names/django-admin.py You should then be able to use that (whatever you got instead of the sample) and type: python /a/bunch/of/directory/names/django-admin.py startproject mysite On Tue, Aug 30, 2011 at 10:39 AM, PremAnand Lakshmanan <prem1...@gmail.com> wrote: > I get the following error when I execute this command, > > django-admin.py startproject mysite > > Error: > django-admin.py not found. > > > -- > Prem > 408-393-2545 > > -- > 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. > -- 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.