1.下载django
https://www.djangoproject.com/download/
2.解压,并到该目录下
执行 python setup.py install
3.验证是否安装成功
C:Userszhongyulin>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on wi
n32
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(1, 9, 1, 'final', 0)
>>> print(django.__path__)
['D:\ProgramFile\Python27\lib\site-packages\django-1.9.1-py2.7.egg\django'
]
>>> quit()
4.python2.7.10的安装请参考