Django是否有Windows 7安装程序?我找不到一个,而Windows却没有提到 [英] Does Django have a Windows 7 Installer? I couldn't find one and theres little mention of Windows

查看:85
本文介绍了Django是否有Windows 7安装程序?我找不到一个,而Windows却没有提到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows上学习Django。这可能吗?我已经Google搜索,似乎找不到一个甚至可以解释这个问题的页面,更不用说安装或者一步一步了。

解决方案


  1. 下载并安装适用于Windows的Python 2.7.1:
    http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi

  2. 下载Django软件包并解压缩:
    http://www.djangoproject。 com / download / 1.2.5 / tarball /
    (您需要像7Zip这样的工具来解压缩tar存档,Windows无法处理)

  3. 打开终端和setup.py从Django被升级的文件夹中:

    C:\download\Django-1.2.5> c:\Python27\python.exe setup.py install

  4. 开始使用本教程。

  5. <注意:您将在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.

    解决方案

    1. Download and install Python 2.7.1 for Windows:
      http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi
    2. 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)
    3. 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
    4. Go and start working through the tutorial.

    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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆