1、首先 安装python ,详见https://mp.csdn.net/postedit/80239836
2、用pip安装Django:
1)pip install Django==1.8
2)[root@vm-82 bin]# python
Python 2.7.12 (default, May 8 2018, 14:02:08)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(1, 8, 0, 'final', 0)
>>>