Saturday, April 14, 2012

Installation Issue - error: /usr/local/bin/django-admin.py: No such file or directory

Hi,

I am attempting to install Django 1.4 on OS X 10.6.8

After running the following command :
sudo python setup.py install

I get this (see the last line):

...
copying django/views/generic/list_detail.py -> build/lib/django/views/
generic
copying django/views/generic/simple.py -> build/lib/django/views/
generic
running build_scripts
creating build/scripts-2.6
copying and adjusting django/bin/django-admin.py -> build/scripts-2.6
changing mode of build/scripts-2.6/django-admin.py from 644 to 755
running install_lib
running install_scripts
copying build/scripts-2.6/django-admin.py -> /usr/local/bin
error: /usr/local/bin/django-admin.py: No such file or directory
...

If I then add the path to django-admin.py in my .bash_profile it finds
it however "django-admin.py startproject mysite" does not create
manage.py in mysite/

build/scripts-2.6/django-admin.py 's owner is root


Any ideas?

Cheers

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