Django是否有Windows 7安装程序?我找不到一个,而Windows却没有提到 [英] Does Django have a Windows 7 Installer? I couldn't find one and theres little mention of Windows
本文介绍了Django是否有Windows 7安装程序?我找不到一个,而Windows却没有提到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
- 下载并安装适用于Windows的Python 2.7.1:
http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi - 下载Django软件包并解压缩:
http://www.djangoproject。 com / download / 1.2.5 / tarball /
(您需要像7Zip这样的工具来解压缩tar存档,Windows无法处理) - 打开终端和setup.py从Django被升级的文件夹中:
C:\download\Django-1.2.5> c:\Python27\python.exe setup.py install
- 开始使用本教程。
- Download and install Python 2.7.1 for Windows:
http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi - Download Django package and unpack:
http://www.djangoproject.com/download/1.2.5/tarball/
(you need a tool like 7Zip to unpack the tar archive, Windows can't deal with it) - Open terminal and setup.py from the folder where Django has been upacked:
C:\download\Django-1.2.5> c:\Python27\python.exe setup.py install
- Go and start working through the tutorial.
<注意:您将在Python安装文件夹中的site-packages文件夹中找到django脚本:
C:\Python27 \Lib \ site-packages\django\bin
I would like to learn Django on Windows. Is this possible? I've Googled and can't seem to find a page that even explains this is possible, let alone an install or step-by-step.
解决方案
Note: You'll find the django scripts in the site-packages folder in your Python installation folder: C:\Python27\Lib\site-packages\django\bin
这篇关于Django是否有Windows 7安装程序?我找不到一个,而Windows却没有提到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文