summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-01-18 02:45:11 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-01-18 02:45:11 (GMT)
commit5e90cd9b32b1fdd1779d6cbd19530fffe26683ff (patch)
tree366c40b33746ce48fc2c44c5b44b3dd30e54e767 /Doc
parente57c957ff96ce8b8be43b7da14afde2eb02f4311 (diff)
downloadcpython-5e90cd9b32b1fdd1779d6cbd19530fffe26683ff.zip
cpython-5e90cd9b32b1fdd1779d6cbd19530fffe26683ff.tar.gz
cpython-5e90cd9b32b1fdd1779d6cbd19530fffe26683ff.tar.bz2
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 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