I am typing mine into a shell prompt....I posted the thread, but I don't
know that it has posted yet...here it is:

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!

-Clark


On Wed, Mar 7, 2012 at 7:54 AM, Tom Evans <tevans...@googlemail.com> wrote:

> On Wed, Mar 7, 2012 at 2:43 PM, Clark <ccr...@gmail.com> wrote:
> > I am having a similar issue, so I tried the $ pip uninstall django,
> > but I got a "IOError: [Errno 13] Permission denied"
> >
> > Advice?
> >
> > Thanks.
> >
>
> You should have started a new thread for your new error. The error
> here was that the new user was typing shell commands into a python
> prompt - is that what you are doing?
>
> The error that you have shown means that pip tried to access (read or
> delete) a file to which it did not have access. That could happen for
> any number of reasons, but most likely you installed django as root
> and are trying to uninstall it as a regular user.
>
> Of course, that is just speculation, as you have not shown what
> happened, or what your original error was that made you think "I know,
> a reinstall of Django will fix everything".
>
> Cheers
>
> Tom
>
> --
> 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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to