From: Anil Belur Date: Fri, 18 Oct 2019 15:45:27 +0000 (+0530) Subject: Update lftools docs to install pyhton3 X-Git-Tag: v0.28.0~5^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F61981%2F2;p=releng%2Flftools.git Update lftools docs to install pyhton3 Python2 is EOL soon, and its receommended to install pyhton3. Issue:IT-17903 Change-Id: I8f81539846777f50ee219e656300dfa6c81109ec Signed-off-by: Anil Belur --- diff --git a/docs/installation.rst b/docs/installation.rst index 1bf68afd..5518092f 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -4,16 +4,18 @@ Installation .. note:: - The Linux Foundation strongly recommends that you have a python - virtual environment to work in. https://virtualenv.pypa.io/en/stable/. + LFtools requires python3 (3.6+) virtual environment. + https://virtualenv.pypa.io/en/stable/. Not using a virtualenv can have serious negative side effects! For Install =========== -LFTools is available on pypi. To install, after making a virtualenv, -do `pip install lftools` in your shell. +LFTools is available on pypi. LFtools has migrated to python3, ensure python3 +is available your system. To install LFTools, create a virtualenv, +with `pip3 install lftools` in your shell. + For Development =============== @@ -21,5 +23,5 @@ For Development Often during development you want to run tests and/or try code out locally as you change it. To do this you need the installation of LFTools to be your local git repo. -After doing `pip install -r requirements.txt` issue the -command `pip install -e .` +After doing `pip3 install -r requirements.txt` issue the +command `pip3 install -e .`