If I understand you correctly your problem is the shell not finding the django-admin.py file. Setting the PythonPath doesn't put django-admin.py on your normal Path, which is used to find commands in the shell. So you could either symlink django-admin to some place in your Path, like /usr/bin, or just call the command with the whole path (python /usr/lib/python2.4/site-packages/django/bin/django-admin.py startproject XYZ).
Is that what you needed? > On ubuntu 6.06 with python 2.4 dev (per a suggestion from the install > doc comments (though had the same issue w/o)) installed and svn > checkout of django. Symlink from /usr/lib/python2.4/site-packages to > django dir in svn checkout (even another symlink to django-admin.py). > /usr/lib/python2.4/site-packages is on the python path and i can import > django from the prompt. Get the following error "can't open file > 'django-admin.py'" when I go to run the startproject command. > > What painfully obvious thing am I missing? (I know I'm going to be > relieved and hate myself simoultaneously at the answer). > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

