前提:已经安装Python

1、先从Django官网下载压缩包:https://www.djangoproject.com/download/

2、解压Django,如我解压到 D:\Python\Django-2.1.3

3、打开CMD,并cd到Django解压的目录

4、运行安装命令,就开始安装了

python setup.py install

5、查看是否安装成功

 

参考:https://www.cnblogs.com/hongten/p/hongten_django_install.html

环境变量配置,参考:https://www.cnblogs.com/zqifa/p/python-2.html

 

posted on 2018-11-05 15:05  蛋尼  阅读(157)  评论(0编辑  收藏  举报