From ef068dbb74869c87d55eb814da0061488b45c148 Mon Sep 17 00:00:00 2001 From: Itamar Haber Date: Mon, 12 Nov 2018 18:49:25 +0200 Subject: Warns against `sudo pip` and refers to venvs --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 97a9d81..fe97e19 100644 --- a/README.rst +++ b/README.rst @@ -16,6 +16,13 @@ Installation redis-py requires a running Redis server. See `Redis's quickstart `_ for installation instructions. +redis-py can be installed using `pip` similar to other Python packages. Do not use `sudo` +with `pip`. It is usually good to work in a +[virtualenv](https://virtualenv.pypa.io/en/latest/) or +[venv](https://docs.python.org/3/library/venv.html) to avoid conflicts with other package +managers and Python projects. For a quick introduction see +[Python Virtual Environments in Five Minutes](bit.ly/py-env). + To install redis-py, simply: .. code-block:: bash -- cgit v1.2.1