(original) (raw)
changeset: 99953:668827be66d6 branch: 2.7 parent: 99950:4f1ed606410b user: Senthil Kumaran senthil@uthcode.com date: Sun Jan 17 18:45:11 2016 -0800 files: Doc/installing/index.rst description: Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell. diff -r 4f1ed606410b -r 668827be66d6 Doc/installing/index.rst --- a/Doc/installing/index.rst Sun Jan 17 17:05:14 2016 -0800 +++ b/Doc/installing/index.rst Sun Jan 17 18:45:11 2016 -0800 @@ -82,10 +82,12 @@ 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 /senthil@uthcode.com