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-9 http://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 django-us...@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.

Reply via email to