From d8daee492ac7590bae069152ec3f7e4e058f439d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 15 Jun 2020 17:39:20 +0800 Subject: [PATCH] docs: create a python3 virtualenv instead a py2 one Signed-off-by: Kefu Chai --- docs/INSTALL.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.3