django-admin.py is a python script that should be ran at the command
line:

$ django-admin startproject myproject

..should work fine.

On Aug 5, 12:43 pm, john <[EMAIL PROTECTED]> wrote:
> On Aug 5, 6:43 am, "Jason Ribeiro" <[EMAIL PROTECTED]> wrote:
>
>
>
> > The 'python-django' package in ubuntu's universe "just works" for me
> > and 0.96 is in the feisty-backports repository.  Why not try that?
>
> > Jason
>
> > On 8/5/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> > > On 8/5/07, john <[EMAIL PROTECTED]> wrote:
> > > > I created a symlink at /usr/local/bin to the django django-admin.py
> > > > file under python2.5.  If I go to my home directory and try to create
> > > > a new project I get a syntax error pointing at the end of
> > > > startproject.  If I try " >>> /usr/lib/....... django-admin.py
> > > > startproject myproject"  I get a permission denied error.  Something
> > > > seems wrong here.  Any ideas ?
>
> > > Go to the directory where django-admin.py is located, and do the 
> > > following:
>
> > > sudo chmod +x django-admin.py
>
> > > Then try it again. Or, alternatively, use
>
> > > python /path/to/django/bin/django-admin.py startproject someprojectname
>
> > > to bypass the need for the executable bit.
>
> Okay, I attached the backports repository and reinstalled both
> python2.5 and django - again running version it shows okay.  But it
> appears the Ubuntu packaging is messed up - first there is a /usr/lib/
> python-django/bin folder that links to /usr/lib/python2.5/site-
> packages/django/bin  okay but there are duplicate  files listed under
> in each /bin folder and there are no execute permissions for the /bin
> programs in the python2.5 path.  Duplicate files with differing
> permissions ?
>
> So I still get a syntax error trying to run startproject, pointing
> either at the end of startproject or the end of the project name
> (depending whether I run it at command line or under python).
>
> I have seen other messages with the similar problem on google search
> without answers - something is apparently wrong and needs to be
> fixed.


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