学无先后,达者为师

网站首页 编程语言 正文

pip如何用pipdeptree查看包依赖_python

作者:Jenrey   更新时间: 2023-01-19 编程语言

pip用pipdeptree查看包依赖

1、安装pipdeptree

pip install pipdeptree

2、使用pipdeptree查看指定包依赖结构

pipdeptree -p xxxx包名

3、查看本机python已存在的全部包的依赖结构

pipdeptree

4、查看哪些包依赖xxxx包

pipdeptree -p xxxx包名 -r

总结

原文链接:https://jenrey.blog.csdn.net/article/details/113762698

栏目分类
最近更新