Wednesday, March 7, 2012

Problems getting started

After installing Django I am attempting to start a new project. After
creating a directory for this, I tried using the command: "django-
admin.py startproject mysite".

but I'm getting the message "-bash: django-admin.py: command not found
".

So, I've tried running this:

"sudo ln -s library/python/2.6/site-packages/django/bin/django-
admin.py /usr/local/bin/django-admin.py" in which i get "file exists"
and I still get the same problem when running the startproject.

Only other piece of info is that during installation I had a "error: /
usr/local/bin/django-admin.py: No such file or directory". But I can
cd into that directory and see the django-admin.py file.

Thanks!

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate