Wednesday, March 7, 2012

Re: Problems getting started

Again, don't install as root, use virtualenv. This will save you headaches in the future, and unless you have an inexcusable reason to have Django run as root, you shouldn't.


Sincerely,
AT

On Wed, Mar 7, 2012 at 6:28 PM, backdoc <backdoctor@gmail.com> wrote:
I think you might need to install as root or sudo.

From memory.....

sudo python setup.py install

Also, try executing "which django-admin.py" at the terminal.  That
will tell you the location of the executable.  Basically, I'm curious
if it will even find it, as I'm thinking it didn't install at all.  I
just installed the 1.4 rc last night on Debian.  I didn't have any
issues.

On Mar 7, 8:36 am, Clark <ccr...@gmail.com> wrote:
> 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.


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