Is there any way to show the dependency trees for pip packages?
You should take a look at pipdeptree: $ pip install pipdeptree $ pipdeptree -fl Warning!!! Cyclic dependencies found: ———————————————————————— xlwt==0.7.5 ruamel.ext.rtf==0.1.1 xlrd==0.9.3 openpyxl==2.0.4 – jdcal==1.0 pymongo==2.7.1 reportlab==3.1.8 – Pillow==2.5.1 – pip – setuptools It doesn’t generate a requirements.txt file as you indicated directly. However the source (255 lines of python code) should be relatively easy … Read more