Re: bash error when trying to django_admin.py; not found -- FAQ not helping
Hey Mike,
If you go to Python shell and do "import django", do you get an error message and what is it?
Also, the location of 2.7 is different to other versions. They used to be under /Library/Python/.. and 2.7 is under /System/Library/.. so you may want to check your paths.
Also, try installing with "sudo easy_install django". I think that's what I used on my Mac and it worked.
Cheers,
-m
Also, make sure that the python version loaded is 2.7.
-- On 20 May 2012 08:02, Mike Manfrin <manfrin@gmail.com> wrote:
I just installed django 1.4 on my OSX.7 macbook running Python 2.7.1.
I installed first via git, and when that didn't work, I downloaded the
tar and unzipped/installed 1.4.
I am specifically getting the error:
-bash: django_admin.py: command not found
However, in /usr/local/bin, django_admin.py exists. When trying
sudo ln -s /usr/local/python2.7/site-packages/django/bin/django-
admin.py /usr/local/bin/django-admin.py
as the FAQ suggests, I get an error saying /usr/local/bin/django-
admin.py exists!
So, I am running in to two errors: One saying django_admin doesn't
exist, and the other saying it does when I try to set it up.
I'm at the point of pulling out my hair -- any help would be
appreciated.
--
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