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

Categories

0 votes
388 views
in Technique[技术] by (71.8m points)

django-admin.py startproject doesn't work, why? FIXED

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

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

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...