]> granicus.if.org Git - python/commitdiff
Issue26017 - Suggest enclosing command args in double quotes when using characters...
authorSenthil Kumaran <senthil@uthcode.com>
Mon, 18 Jan 2016 02:45:11 +0000 (18:45 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Mon, 18 Jan 2016 02:45:11 +0000 (18:45 -0800)
Doc/installing/index.rst

index f01b084a1997b490fe9a29dc49f18153a90ad6f5..e955e3371914236807d605afc15d04a0d0183bd7 100644 (file)
@@ -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