pip_check.rst 598 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .. _`pip check`:
  2. pip check
  3. ---------
  4. .. contents::
  5. Usage
  6. *****
  7. .. pip-command-usage:: check
  8. Description
  9. ***********
  10. .. pip-command-description:: check
  11. Examples
  12. ********
  13. #. If all dependencies are compatible:
  14. ::
  15. $ pip check
  16. No broken requirements found.
  17. $ echo $?
  18. 0
  19. #. If a package is missing:
  20. ::
  21. $ pip check
  22. pyramid 1.5.2 requires WebOb, which is not installed.
  23. $ echo $?
  24. 1
  25. #. If a package has the wrong version:
  26. ::
  27. $ pip check
  28. pyramid 1.5.2 has requirement WebOb>=1.3.1, but you have WebOb 0.8.
  29. $ echo $?
  30. 1