找不到命令:django-admin.py [英] Command not found: django-admin.py
问题描述
一切都正常,直到步骤
django-admin.py startproject hellodjango
我在哪里获得
命令找不到:django -admin.py
现在我已经尝试了一些事情,但没有一个确实有效果。有没有人可以指出我正确的方向?
P.S。在Mac上运行Python / Django本地运行和测试应用程序有没有一个很好的指南?
我在Mac OS X Lion,Python 2.7。 / p>
实际上,如果你使用Ubuntu,它只是 django-admin
django-admin.py
。
驻留在 / usr / bin
在Mac上可能是一样的。
您正在使用Windows教程。
它也可以告诉你
python manage.py runserver
这实际上是
python ./manage.py runserver
I am a complete beginner to Python/Django, but I want to dive right in and start experimenting. Thus I was following this guide on installing Python/Django http://devcenter.heroku.com/articles/django.
Everything is working fine until the step
django-admin.py startproject hellodjango
Where I get
command not found: django-admin.py
Now I have tried a few things, but none have really worked out. Is there someone kind enough to point me in the right direction?
P.S. Is there a great guide out there on running Python/Django locally on a Mac to run and test apps?
I'm on Mac OS X Lion, Python 2.7.
Actually, if you use Ubuntu, it's just django-admin
not django-admin.py
.
Resides in /usr/bin
Probably the same thing on Mac.
You're using a Windows tutorial.
It may also tell you
python manage.py runserver
and that is actually
python ./manage.py runserver
这篇关于找不到命令:django-admin.py的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!