Find which version of package is installed with pip

前端 未结 15 2156
死守一世寂寞
死守一世寂寞 2020-12-04 04:43

Using pip, is it possible to figure out which version of a package is currently installed?

I know about pip install XYZ --upgrade but I am wondering if

15条回答
  •  甜味超标
    2020-12-04 05:15

    Pip 1.3 now also has a list command:

    $ pip list
    argparse (1.2.1)
    pip (1.5.1)
    setuptools (2.1)
    wsgiref (0.1.2)
    

提交回复
热议问题