Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

The command django-admin.py startproject mysite doesn't work.

Also for more information, here is a screenshot of what happens: http://i.imgur.com/xqsy4ZY.png.

I also tried this using full path to django: C:Python27Scriptsdjango-admin.py startproject mysite.

Neither of these commands create anything.


FIXED: Here is the answer: django-admin.py is not working

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
396 views
Welcome To Ask or Share your Answers For Others

1 Answer

himmip try django-admin.py startproject mysite in a directory where you want your project.

Plus, make sure you have Django installed by calling python -c "import django; print(django.get_version())" from the command line. It should print out django's version if its correctly installed.

Just like in the docs.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...