Does Django have a Windows 7 Installer? I couldn't find one and theres little mention of Windows

后端 未结 2 1889
无人共我
无人共我 2021-01-30 18:32

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-st

2条回答
  •  忘掉有多难
    2021-01-30 19:09

    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

提交回复
热议问题