pip list packages versions code example
Example 1: list all packages installed with pip
pipenv lock -r
Example 2: pip pkg version
$ pip show Jinja2
---
Name: Jinja2
Version: 2.7.3
Location: /path/to/virtualenv/lib/python2.7/site-packages
Requires: markupsafe