ITeye博客

install django for windows

chengyuanheng · 2014-10-14 19:36 · django · 编程语言 · Markdown

install django for windows 

step1:   download  python from  https://www.python.org/downloads/windows/

               download  django from  https://www.djangoproject.com/download/

          

step2:   install python and configuration environment variable

                    for example: add 'G:\python' to '计算机->属性->高级->环境变量'

step3:   unzip Django to the directory of python

 

step4:  come into the directory of python use dos,

                run "python setup.py install",                    

                django will be installed into the directory of  "lib/site-packages/"

 

step5:    add 'G:\python\lib\site-packages\django' into environment variable

                add 'G:\python\Scripts' into environment variable

 

step6:     check whether success : in the directory of G:\python in dos,

                         run 'python', run 'import django', run ' django.get_version()',

                         you will get the version of python and django

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。