mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Merge from 3.5
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
This commit is contained in:
commit
5ad53bfa7b
1 changed files with 4 additions and 2 deletions
|
@ -84,10 +84,12 @@ dependencies from the Python Packaging Index::
|
||||||
Python.
|
Python.
|
||||||
|
|
||||||
It's also possible to specify an exact or minimum version directly on the
|
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 # 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
|
Normally, if a suitable module is already installed, attempting to install
|
||||||
it again will have no effect. Upgrading existing modules must be requested
|
it again will have no effect. Upgrading existing modules must be requested
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue