[Answer]-Troubleshoot – $ django-admin.py: command not found

1👍

Solution in comments, also was here https://docs.djangoproject.com/en/1.6/faq/troubleshooting/. Take care the files exists, the $PATH includes the path to django-admin.py, and the symlinks are correctly asigned

👤xbello

0👍

If you don’t want to set the $PATH, then you can just use one long command in Bash to start a new project. Like so:

python ~/path/to/django-admin.py startproject <project_name>

A common path might be:

python ~/documents/virtualenvs/pay/lib/python2.7/site-packages/django/bin/django-admin.py startproject store

Leave a comment