查找使用easy_install/pip安装的所有软件包? [英] Find all packages installed with easy_install/pip?

查看:149
本文介绍了查找使用easy_install/pip安装的所有软件包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以找到通过easy_install或pip安装的所有Python PyPI软件包?我的意思是,排除分发工具已经安装的所有东西(在本例中为Debian上的apt-get).

Is there a way to find all Python PyPI packages that were installed with easy_install or pip? I mean, excluding everything that was/is installed with the distributions tools (in this case apt-get on Debian).

推荐答案

pip freeze将输出已安装软件包及其版本的列表.它还允许您将那些程序包写到一个文件中,该文件以后可用于设置新的环境.

pip freeze will output a list of installed packages and their versions. It also allows you to write those packages to a file that can later be used to set up a new environment.

https://pip.pypa.io/en/stable /reference/pip_freeze/#pip-freeze

这篇关于查找使用easy_install/pip安装的所有软件包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆