Is there any way to show the dependency trees for pip packages?

前端 未结 2 2050
猫巷女王i
猫巷女王i 2020-12-23 10:44

I have a project with multiple package dependencies, the main requirements being listed in requirements.txt. When I call pip freeze it prints the c

2条回答
  •  感动是毒
    2020-12-23 11:40

    Warning: py2 only / abandonware

    yolk can display dependencies for packages, provided that they

    • were installed via setuptools
    • came with metadata that includes dependency information

      $ yolk -d Theano
      Theano 0.6.0rc3
        scipy>=0.7.2
        numpy>=1.5.0
      

提交回复
热议问题