Skip to content

Commit 44580ec

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#83 from BrianPainter/master
Modified Installation Steps for Windows
2 parents bde7064 + b468b2e commit 44580ec

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

docs/starting/installation.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,30 @@ Prerequisites:
8989
* Microsoft Visual Studio
9090

9191

92-
Step 1: Install Distribute & Pip
92+
Step 1: Set PATH variables
93+
--------------------------
94+
If you haven't set your PATH variables as part of the Python2.7 install, now is the time to do that. Right click on My Computer and select properties.
95+
**Windows 7**:
96+
* Click Advanced System Settings from left hand list
97+
* Click the Environment Variables button at the bottom
98+
* In the System variables section double click on the variable line named Path
99+
* Scroll to the end of the variable value field
100+
* add semicolon (;) if one doesn't exist and then type **C:\Python27\;C:\Python27\Scripts\**
101+
102+
103+
Step 2: Install Distribute & Pip
93104
--------------------------------
94105

95106
**Distribute** is a fantastic drop-in replacement for **easy_install** and **setuptools**. It allows you to install and manage python packages from PyPi, amongst a few other sources.
96107

97108
To install it, run the python script available here:
98109
<http://python-distribute.org/distribute_setup.py>
99110

100-
Make sure that ```C:\Python27\```, and ```C:\Python27\Scripts``` are in your PATH.
101-
102111
**easy_install** is considered by many to be a deprecated system, so we will install it's replacement: **pip**. Pip allows for uninstallation of packages, and is actively maintained, unlike setuptool's easy_install.
103112

104-
To install pip, simply run: ::
113+
To install pip, simply open a command prompt and run: ::
105114

106-
$ easy_install pip
115+
> easy_install pip
107116

108117

109118
Linux (Ubuntu)

0 commit comments

Comments
 (0)