Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

django

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.

like image 648
Pete Alvin Avatar asked Mar 01 '11 13:03

Pete Alvin


2 Answers

  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

like image 52
Bernhard Avatar answered Oct 20 '22 22:10

Bernhard


Alternatively you could use the BitNami DjangoStack (disclaimer: I'm a BitNami developer). The stack already includes Python, Django and you can also select to install MySQL and/or PostgreSQL. It is a free installer that in a few click allows you to have your environment for developing Django applications ready. It is self-contained and install all the dependencies you need and the more common python modules. Also it will not interfere with your current environment.

like image 32
kaysa Avatar answered Oct 20 '22 22:10

kaysa