blob: a12d5b3ec78605f55ccae4b3bc3164aef0d7dee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.. _`pip check`:
=========
pip check
=========
.. contents::
Usage
=====
.. pip-command-usage:: check
Description
===========
.. pip-command-description:: check
Examples
========
#. If all dependencies are compatible:
::
$ pip check
No broken requirements found.
$ echo $?
0
#. If a package is missing:
::
$ pip check
pyramid 1.5.2 requires WebOb, which is not installed.
$ echo $?
1
#. If a package has the wrong version:
::
$ pip check
pyramid 1.5.2 has requirement WebOb>=1.3.1, but you have WebOb 0.8.
$ echo $?
1
|