Identifying the dependency relationship for python packages installed with pip

前端 未结 8 673
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 16:20

When I do a pip freeze I see large number of Python packages that I didn\'t explicitly install, e.g.

$ pip freeze
Cheetah==2.4.3
GnuPGInterface==0.3.2
Landsc         


        
8条回答
  •  我在风中等你
    2020-11-29 16:38

    The pip show command will show what packages are required for the specified package (note that the specified package must already be installed):

    $ pip show specloud
    
    Package: specloud
    Version: 0.4.4
    Requires:
    nose
    figleaf
    pinocchio
    

    pip show was introduced in pip version 1.4rc5

提交回复
热议问题