From 5bcce789ad9925e2828957c74aae7bc0ef57c2ea Mon Sep 17 00:00:00 2001 From: Musee Ullah Date: Mon, 12 Nov 2018 13:46:03 -0800 Subject: [PATCH] Add pip to Py3 migration notes for CentOS --- docs/installation/migrating-to-python3.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/installation/migrating-to-python3.md b/docs/installation/migrating-to-python3.md index 62681fad6..599ae3b8c 100644 --- a/docs/installation/migrating-to-python3.md +++ b/docs/installation/migrating-to-python3.md @@ -51,26 +51,27 @@ Ensure EPEL is installed: # yum install -y epel-release ``` -Install Python3: +Install Python3 and pip3, Python's package management tool: ```no-highlight # yum install -y python36 python36-devel python36-setuptools +# python3.6 -m ensurepip --default-pip ``` Install the Python3 packages required by NetBox: ```no-highlight -# python3.6 -m pip install -r requirements.txt +# pip3 install -r requirements.txt ``` Replace gunicorn with the Python3 version: ```no-highlight -# python3.6 -m pip install gunicorn +# pip3 install gunicorn ``` If using LDAP authentication, install the `django-auth-ldap` package: ```no-highlight -# python3.6 -m pip install django-auth-ldap +# pip3 install django-auth-ldap ```