diff --git a/py/docs/source/index.rst b/py/docs/source/index.rst
index 54123b5d600ca..9f8c9ed892d56 100755
--- a/py/docs/source/index.rst
+++ b/py/docs/source/index.rst
@@ -35,7 +35,7 @@ If you have `pip `_ on your system, you can simply install
Alternately, you can download the source distribution from `PyPI `, unarchive it, and run::
- python setup.py install
+ python -m pip install .
Note: You may want to consider using `virtualenv `_ to create isolated Python environments.