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 ***
时间: 2024-11-10 14:01:49