查找所有使用 easy_install/pip 安装的软件包? [英] Find all packages installed with easy_install/pip?
本文介绍了查找所有使用 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屋!
查看全文