]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
docs: create a python3 virtualenv instead a py2 one 1507/head
authorKefu Chai <kchai@redhat.com>
Mon, 15 Jun 2020 09:39:20 +0000 (17:39 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 15 Jun 2020 09:39:20 +0000 (17:39 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
docs/INSTALL.rst

index e0e23e853192c7d02eecb749a55dc2954a60c522..511ee3fd107d28deaaa59802adec9c9ec4f55e70 100644 (file)
@@ -34,11 +34,12 @@ First install the non-PyPI dependencies::
 Next, clone its `git repository <https://github.com/ceph/teuthology/>`__,
 create a `virtualenv <http://virtualenv.readthedocs.org/en/latest/>`__, 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