close

How can I see the current version of packages installed by pipenv?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How can I see the current version of packages installed by pipenv in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How can I see the current version of packages installed by pipenv?

  1. How can I see the current version of packages installed by pipenv?

    The output from this is perhaps more verbose than you'd like, but it does contain everything you need.

  2. I see the current version of packages installed by pipenv

    The output from this is perhaps more verbose than you'd like, but it does contain everything you need.

Method 1

1.go in project folder.
2.first activate pipenv type pipenv shell.
3.type pip freeze

Method 2

To see installed packages with Pipenv, you can use the pipenv graph command.

The output from this is perhaps more verbose than you’d like, but it does contain everything you need.

Sample truncated output:

appdirs==1.4.3
decorator==4.0.11
flake8==3.3.0
  - configparser [required: Any, installed: 3.5.0]
  - enum34 [required: Any, installed: 1.1.6]
  - mccabe [required: >=0.6.0,<0.7.0, installed: 0.6.1]
  - pycodestyle [required: >=2.0.0,<2.4.0, installed: 2.3.1]
  - pyflakes [required: >=1.5.0,<1.6.0, installed: 1.5.0]
Flask-Admin==1.5.3
  - Flask [required: >=0.7, installed: 0.12.4]
    - click [required: >=2.0, installed: 6.7]
    - itsdangerous [required: >=0.21, installed: 0.24]
    - Jinja2 [required: >=2.4, installed: 2.10]
      - MarkupSafe [required: >=0.23, installed: 1.0]
    - Werkzeug [required: >=0.7, installed: 0.14.1]
  - wtforms [required: Any, installed: 2.1]

As it’s a graph, you’ll sometimes need to look in “deeper” levels of the output for the package you’re interested in. You can also use grep:

$ pipenv graph | grep Flask-Admin
Flask-Admin==1.5.3

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read