首页 > 代码库 > no such file django-admin.py

no such file django-admin.py

Environment:

  Ubuntu14.04+Python2.7.6+django1.5.4

Solution:

  Try link django-admin.py to /usr/local/bin?I got this:

ln: failed to create symbolic link ‘/usr/local/bin/django-admin.py’: File exists

  It has been done automatically, and Ubuntu knows interpreter .py with Python, So just do it like this:

django-admin.py startproject ***

 

no such file django-admin.py