I'm having trouble getting django-admin.py to work... it's in this first location: /Users/mycomp/bin/ but I think I need it in another location for the terminal to recognize it, no?
Noob, Please help. Thanks!!
my-computer:~/Django-1.1.1 mycomp$ sudo ln -s /Users/mycomp/bin/django-admin.py /Users/mycomp/django-1.1.1/django-admin.py
Password:
ln: /Users/mycomp/django-1.1.1/django-admin.py: File exists
my-computer:~/Django-1.1.1 mycomp$ django-admin.py --version
-bash: django-admin.py: command not found
you need to export /Users/mycomp/bin to environment variable PATH
for a session
for permanent, whenever you use bash
Note: And I think django automatically create executable
django-admin
file in the bin folder (notice there is no extensions .py) when you installed, So you should trydjango-admin
only too.