From 5e90cd9b32b1fdd1779d6cbd19530fffe26683ff Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 17 Jan 2016 18:45:11 -0800 Subject: Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell. --- Doc/installing/index.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst index f01b084..e955e33 100644 --- a/Doc/installing/index.rst +++ b/Doc/installing/index.rst @@ -82,10 +82,12 @@ dependencies from the Python Packaging Index:: Python. It's also possible to specify an exact or minimum version directly on the -command line:: +command line. When using comparator operators such as ``>``, ``<`` or some other +special character which get interpreted by shell, the package name and the +version should be enclosed within double quotes:: python -m pip install SomePackage==1.0.4 # specific version - python -m pip install 'SomePackage>=1.0.4' # minimum version + python -m pip install "SomePackage>=1.0.4" # minimum version Normally, if a suitable module is already installed, attempting to install it again will have no effect. Upgrading existing modules must be requested -- cgit v0.12