From 84dd83f0185687adfe44452afb2fc9cff15ba594 Mon Sep 17 00:00:00 2001 From: Paul McMillan Date: Fri, 2 Mar 2012 04:27:46 +0000 Subject: [PATCH] Fixes #17578. Improve setup instructions for Windows users. Thanks Pariksheet Nanda for the report and zsiciarz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17619 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/install.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/topics/install.txt b/docs/topics/install.txt index 68db820be2..ae0f37176a 100644 --- a/docs/topics/install.txt +++ b/docs/topics/install.txt @@ -24,6 +24,15 @@ probably already have it installed. .. _jython: http://jython.org/ +.. admonition:: Python on Windows + + On Windows, you might need to adjust your ``PATH`` environment variable + to include paths to Python executable and additional scripts. For example, + if your Python is installed in ``C:\Python27\``, the following paths need + to be added to ``PATH``:: + + C:\Python27\;C:\Python27\Scripts; + Install Apache and mod_wsgi ============================= @@ -210,7 +219,7 @@ Installing an official release 4. If you're using Linux, Mac OS X or some other flavor of Unix, enter the command ``sudo python setup.py install`` at the shell prompt. If you're using Windows, start up a command shell with administrator - privileges and run the command ``setup.py install``. + privileges and run the command ``python setup.py install``. These commands will install Django in your Python installation's ``site-packages`` directory.