|
|
|
@ -150,21 +150,21 @@ If you don't currently have either, then `get-pip.py` will install both for you
|
|
|
|
|
|
|
|
|
|
To install the latest setuptools, you can use its bootstrap file: |
|
|
|
|
|
|
|
|
|
:file:`ez_setup.py`_ |
|
|
|
|
`ez_setup.py`_ |
|
|
|
|
|
|
|
|
|
Either should be double-clickable once you download them. If you already have pip, |
|
|
|
|
you can upgrade them by running:: |
|
|
|
|
|
|
|
|
|
> pip install --upgrade pip setuptools |
|
|
|
|
|
|
|
|
|
Most often, once you pull up a command prompt you want to be able to type :command:``pip`` |
|
|
|
|
and :command:``python`` which will run those things, but this might not automatically happen |
|
|
|
|
Most often, once you pull up a command prompt you want to be able to type :command:`pip` |
|
|
|
|
and :command:`python` which will run those things, but this might not automatically happen |
|
|
|
|
on Windows, because it doesn't know where those executables are (give either a try!). |
|
|
|
|
|
|
|
|
|
To fix this, you should be able to navigate to your Python install directory |
|
|
|
|
(e.g ``C:\Python27``), then go to ``Tools``, then ``Scripts``; then find the |
|
|
|
|
``win_add2path.py`` file and run that. Open a **new** Command Prompt and |
|
|
|
|
check that you can now just type :command:``python`` to bring up the interpreter. |
|
|
|
|
check that you can now just type :command:`python` to bring up the interpreter. |
|
|
|
|
|
|
|
|
|
Finally, to install `virtualenv`_, you can simply run:: |
|
|
|
|
|
|
|
|
|