From b1a8741c576c7f5de6c02bf80b672370e47b8e1d Mon Sep 17 00:00:00 2001 From: troymc Date: Thu, 19 May 2016 11:48:11 +0200 Subject: [PATCH] Use pip3 instead of pip to upgrade pip, wheel & setuptools --- deploy-cluster-aws/fabfile.py | 2 +- docs/source/installing-server.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-cluster-aws/fabfile.py b/deploy-cluster-aws/fabfile.py index ebd8274d..a9b645c5 100644 --- a/deploy-cluster-aws/fabfile.py +++ b/deploy-cluster-aws/fabfile.py @@ -64,7 +64,7 @@ def install_base_software(): software-properties-common python-software-properties \ python3-setuptools ipython3 sysstat s3cmd') sudo('easy_install3 pip') - sudo('pip install --upgrade pip wheel setuptools') + sudo('pip3 install --upgrade pip wheel setuptools') # Install RethinkDB diff --git a/docs/source/installing-server.md b/docs/source/installing-server.md index 2f267ef4..3a56fb7c 100644 --- a/docs/source/installing-server.md +++ b/docs/source/installing-server.md @@ -55,7 +55,7 @@ If it says that `pip` isn't installed, or it says `pip` is associated with a Pyt ```text $ sudo apt-get install python3-setuptools $ sudo easy_install3 pip -$ pip install --upgrade pip wheel setuptools +$ pip3 install --upgrade pip wheel setuptools ``` (Note: Using `sudo apt-get python3-pip` also installs a Python 3 version of `pip` (named `pip3`) but we found it installed a very old version and there were issues with updating it.)