Installing Django on Windows

本文详细介绍了在Windows环境下安装Python和Django的过程。首先,通过Python官方网站下载并安装Python;其次,安装PyScripter作为开发环境;再次,从Django官网下载Django并进行安装;最后,通过Python解释器检查Django是否安装成功。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Installing Django on Windows and Mac
1.Installing python on Windows
2.Installing PyScripter on Windows
3.Installing Django on Windows
4.Check for Django installation on Windows


1.Installing Python on Windows
Go to http://www.python.org/download to get started


2.Installing PyScripter on Windows
【PyScripter 】https://code.google.com/p/pyscripter/

Before using PyScripter, you must ensure that there is a version of Python
greater or equal to 2.6 installed on your machine.
If not, you can download one from http://www.python.org/

You can also check if there is a newest version of PyScripter at
https://sourceforge.net/projects/pyscripter/files/

 

3.Installing Django on Windows
【Django】https://www.djangoproject.com/download/

Now download .gz file

First, download Django-1.8.19.tar.gz .

 

 

use cd to change folders

type following at the python 

python setup.py install

 

4.Check for Django installation on Windows

Go to CMD prompt

Now inside the python scription type

>>>import django

>>>django.VERSION

you will see Django version as shown below

 

转载于:https://www.cnblogs.com/itmb/p/10281149.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值