summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-01-18 02:42:50 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-01-18 02:42:50 (GMT)
commit5ad53bfa7b80f3d683bf28d8c212a35078d1dfc8 (patch)
tree9cc16cd5a6f7a8471bcf532d373cd3e99fa7c477 /Doc
parent5f6ccc787e3d554bf4d759eb532826151809a8dc (diff)
parent76d9a6bbd2fe8171f796488055ad829b2e4fab71 (diff)
downloadcpython-5ad53bfa7b80f3d683bf28d8c212a35078d1dfc8.zip
cpython-5ad53bfa7b80f3d683bf28d8c212a35078d1dfc8.tar.gz
cpython-5ad53bfa7b80f3d683bf28d8c212a35078d1dfc8.tar.bz2
Merge from 3.5
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/installing/index.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst
index 973c689..4f0ed50 100644
--- a/Doc/installing/index.rst
+++ b/Doc/installing/index.rst
@@ -84,10 +84,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