帮助Django安装 [英] Help with Django Installation
本文介绍了帮助Django安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试通过键入 THEFULLPATH\django-admin.py startproject mysite
来创建我的第一个项目,但它不起作用。在我目前的目录中没有创建'mysite'目录。相反,它给出了django-admin.py可用的命令列表。有关详细信息,请参阅下面的屏幕截图。
I'm trying to create my first project by typing in THEFULLPATH\django-admin.py startproject mysite
but its not working. No 'mysite' directory created in my current directory. Instead it gives me a list of commands that is available with django-admin.py. See the below screenshot for more details.
推荐答案
您需要使用python专门运行脚本,所以:
You need to specifically run the script with python, so:
python django-admin.py startproject
不知道为什么它的行为是这样的,它肯定是令人讨厌的..
I'm not sure why it behaves like this, and it sure is annoying..
这篇关于帮助Django安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文