From 465313c562957a01c77d346a9b2138ced1c7e05b Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 9 Aug 2019 14:24:12 -0700 Subject: [PATCH] use pip3 for python3 (#3742) * use pip3 for python3 * make python3 as default --- docs/install/from_source.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/install/from_source.rst b/docs/install/from_source.rst index d32f768..1b98e3b 100644 --- a/docs/install/from_source.rst +++ b/docs/install/from_source.rst @@ -54,7 +54,7 @@ Our goal is to build the shared libraries: .. code:: bash sudo apt-get update - sudo apt-get install -y python python-dev python-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake + sudo apt-get install -y python3 python3-dev python3-setuptools gcc libtinfo-dev zlib1g-dev build-essential cmake The minimal building requirements are @@ -181,25 +181,25 @@ Python dependencies .. code:: bash - pip install --user numpy decorator attrs + pip3 install --user numpy decorator attrs * If you want to use RPC Tracker .. code:: bash - pip install --user tornado + pip3 install --user tornado * If you want to use auto-tuning module .. code:: bash - pip install --user tornado psutil xgboost + pip3 install --user tornado psutil xgboost * If you want to parse Relay text format progams, you must use Python 3 and run the following .. code:: bash - pip install --user mypy orderedset antlr4-python3-runtime + pip3 install --user mypy orderedset antlr4-python3-runtime Install Contrib Libraries -- 2.7.4