Fix indentation of lists and literal blocks
@@ -36,9 +36,7 @@ directly from distribution files.
The most common scenario is to install from `PyPI`_ using :ref:`Requirement
-Specifiers`
-
- ::
+Specifiers` ::
$ pip install SomePackage # latest version
$ pip install SomePackage==1.0.4 # specific version
@@ -119,9 +117,7 @@ Requirements Files
==================
"Requirements files" are files containing a list of items to be
-installed using :ref:`pip install` like so:
-
- ::
+installed using :ref:`pip install` like so::
pip install -r requirements.txt
@@ -207,9 +203,7 @@ contents is nearly identical to :ref:`Requirements Files`. There is one key
difference: Including a package in a constraints file does not trigger
installation of the package.
-Use a constraints file like so:
-
- ::
+Use a constraints file like so::
pip install -c constraints.txt
@@ -807,14 +801,12 @@ Understanding your error message
When you get a ``ResolutionImpossible`` error, you might see something
like this:
-::
-
- pip install package_coffee==0.44.1 package_tea==4.3.0
-
-::
+.. code-block:: console
- Due to conflicting dependencies pip cannot install package_coffee and
- package_tea:
+ $ pip install package_coffee==0.44.1 package_tea==4.3.0
+ ...
+ Due to conflicting dependencies pip cannot install
+ package_coffee and package_tea:
- package_coffee depends on package_water<3.0.0,>=2.4.2
- package_tea depends on package_water==2.3.1
