Skip to content

Commit 68193b2

Browse files
committed
Update pip and virtualenv installation instructions
1 parent 6572b16 commit 68193b2

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

help_docs/install_python_pip_git.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ If you're a WINDOWS user, [download Python 2.7 from here](https://www.python.org
1212

1313
You might already have pip and setuptools installed, but if you don't:
1414

15-
On MAC / Windows, run the following command:
15+
On MAC / Windows / Linux, run the following command:
1616
```bash
17-
python -m pip install --upgrade pip setuptools
17+
python -m ensurepip --default-pip
1818
```
1919

20-
On LINUX / CentOS 7, run the following commands:
20+
If your existing version of pip is old, upgrade to the latest version:
2121
```bash
22-
yum -y update
23-
yum -y install python-pip
22+
python -m pip install --upgrade pip setuptools
2423
```
2524

26-
If you're not using the latest version of pip & setuptools, you'll need to upgrade:
25+
On CentOS 7 and some versions of Linux, you may need to install pip with ``yum``:
2726
```bash
28-
pip install --upgrade pip setuptools
27+
yum -y update
28+
yum -y install python-pip
2929
```
3030

3131
If you're having any trouble getting pip, you can [GET PIP HERE](https://pip.pypa.io/en/latest/installing/).
@@ -61,14 +61,14 @@ brew install git
6161

6262
(NOTE: Virtual environments allow each your Python projects to have a unique set of packaged dependencies.)
6363

64-
MAC:
64+
MAC / Linux:
6565
```bash
66-
sudo easy_install --upgrade virtualenv
67-
sudo easy_install --upgrade virtualenvwrapper
66+
python -m pip install --upgrade virtualenv
67+
python -m pip install --upgrade virtualenvwrapper
6868
```
6969

7070
WINDOWS:
7171
```bash
72-
pip install --upgrade virtualenv
73-
pip install --upgrade virtualenvwrapper-win
72+
python -m pip install --upgrade virtualenv
73+
python -m pip install --upgrade virtualenvwrapper-win
7474
```

help_docs/virtualenv_instructions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
MAC / Linux:
66
```bash
7-
sudo easy_install --upgrade virtualenv
8-
sudo easy_install --upgrade virtualenvwrapper
7+
python -m pip install --upgrade virtualenv
8+
python -m pip install --upgrade virtualenvwrapper
99
```
1010

1111
WINDOWS:
1212
```bash
13-
pip install --upgrade virtualenv
14-
pip install --upgrade virtualenvwrapper-win
13+
python -m pip install --upgrade virtualenv
14+
python -m pip install --upgrade virtualenvwrapper-win
1515
```
1616

1717
#### Now use VirtualEnv or VirtualEnvWrapper to create a virtual environment:

0 commit comments

Comments
 (0)