@@ -12,20 +12,20 @@ If you're a WINDOWS user, [download Python 2.7 from here](https://www.python.org
12
12
13
13
You might already have pip and setuptools installed, but if you don't:
14
14
15
- On MAC / Windows, run the following command:
15
+ On MAC / Windows / Linux , run the following command:
16
16
``` bash
17
- python -m pip install --upgrade pip setuptools
17
+ python -m ensurepip --default- pip
18
18
```
19
19
20
- On LINUX / CentOS 7, run the following commands :
20
+ If your existing version of pip is old, upgrade to the latest version :
21
21
``` bash
22
- yum -y update
23
- yum -y install python-pip
22
+ python -m pip install --upgrade pip setuptools
24
23
```
25
24
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 `` :
27
26
``` bash
28
- pip install --upgrade pip setuptools
27
+ yum -y update
28
+ yum -y install python-pip
29
29
```
30
30
31
31
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
61
61
62
62
(NOTE: Virtual environments allow each your Python projects to have a unique set of packaged dependencies.)
63
63
64
- MAC:
64
+ MAC / Linux :
65
65
``` 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
68
68
```
69
69
70
70
WINDOWS:
71
71
``` 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
74
74
```
0 commit comments