查看python中已经安装了哪些包?


命令

 pip3 list

 


注意:如果python2x,可以使用pip list替代

示例

[root@nccztsjb-node-13 ~]# pip3 list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
pip (9.0.3)
python-lzf (0.2.4)
rdbtools (0.1.15)
redis (3.5.3)
setuptools (39.2.0)
[root@nccztsjb-node-13 ~]# 

 

posted @ 2022-12-09 10:25  Zhai_David  阅读(222)  评论(0编辑  收藏  举报