From: Rishabh Dave Date: Tue, 17 Sep 2019 16:07:44 +0000 (+0530) Subject: doc: improve developer guide doc X-Git-Tag: v15.1.0~1464^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aa1fa3eba6bc2c182f598a8a9d8b7cfd4d412c1b;p=ceph.git doc: improve developer guide doc Mention that the virtual environment's default Python version should be Python 2.7. Signed-off-by: Rishabh Dave --- diff --git a/doc/dev/developer_guide/index.rst b/doc/dev/developer_guide/index.rst index 8be91c0e4c24..aee3d403f783 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