Thanks for reply Steve.

Yes I seen the section about symbolic linking on the django website.
It says on the website to type this command....

"ln -s WORKING-DIR/django-trunk/django/bin/django-admin.py /usr/local/
bin"

which I did(replacing WORKING_DIR obviously with the right path), but
I'm not sure what "/usr/local/bin" is supposed to point to or what
path should this be exactly?


On Oct 11, 6:20 pm, Steve Holden <[email protected]> wrote:
> On 10/11/2010 1:47 AM, Phil wrote:> Hi,
>
> > I am having trouble creating my first project. I am running the latest
> > version of Ubuntu and I installed Django from svn, when I run 'import
> > django' i get no errors back so I assume its installed OK.
>
> > When I run 'django-admin.py startproject myproject' I get back an
> > error saying 'django-admin.py: command not found'.
>
> > How can I solve/get around this error? Appreciate any help/ advice
> > offered
>
> When you install Django from svn it doesn't add django-admin to any of
> the directories that your system looks for programs in (i.e. those
> directories on your path).
>
> When you install Django with setuptools (i.e. using setup.py) then you
> should find that django-admin is placed where it can be found.
>
> The simplest way around this is to make a symbolic link from one of the
> directories on your path to the django-admin.py file.
>
> regards
>  Steve
> --
> DjangoCon US 2010 September 7-9http://djangocon.us/

-- 
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?hl=en.

Reply via email to