From: Kefu Chai Date: Mon, 15 Jun 2020 09:39:20 +0000 (+0800) Subject: docs: create a python3 virtualenv instead a py2 one X-Git-Tag: 1.1.0~89^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1507%2Fhead;p=teuthology.git docs: create a python3 virtualenv instead a py2 one Signed-off-by: Kefu Chai --- diff --git a/docs/INSTALL.rst b/docs/INSTALL.rst index e0e23e853..511ee3fd1 100644 --- a/docs/INSTALL.rst +++ b/docs/INSTALL.rst @@ -34,11 +34,12 @@ First install the non-PyPI dependencies:: Next, clone its `git repository `__, create a `virtualenv `__, and install dependencies. For python3, the instructions are given below. For -python2, replace the ``requirements3.txt`` with ``requirements2.txt`` :: +python2, replace the ``requirements3.txt`` with ``requirements2.txt``, and +replace ``python3`` with ``python2``:: git clone https://github.com/ceph/teuthology/ cd teuthology - virtualenv ./virtualenv + virtualenv --python python3 ./virtualenv source virtualenv/bin/activate pip install --upgrade pip pip install -r requirements3.txt