From aa1fa3eba6bc2c182f598a8a9d8b7cfd4d412c1b Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Tue, 17 Sep 2019 21:37:44 +0530 Subject: [PATCH] doc: improve developer guide doc Mention that the virtual environment's default Python version should be Python 2.7. Signed-off-by: Rishabh Dave --- doc/dev/developer_guide/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dev/developer_guide/index.rst b/doc/dev/developer_guide/index.rst index 8be91c0e4c2..aee3d403f78 100644 --- a/doc/dev/developer_guide/index.rst +++ b/doc/dev/developer_guide/index.rst @@ -1589,14 +1589,14 @@ using `vstart_runner.py`_. To do that, you'd need `teuthology`_ installed:: $ git clone https://github.com/ceph/teuthology $ cd teuthology/ - $ virtualenv ./venv + $ virtualenv -p python2.7 ./venv $ source venv/bin/activate $ pip install --upgrade pip $ pip install -r requirements.txt $ python setup.py develop $ deactivate -.. note:: The pip command above is pip2, not pip3. +.. note:: The pip command above is pip2, not pip3; run ``pip --version``. The above steps installs teuthology in a virtual environment. Before running a test locally, build Ceph successfully from the source (refer