Find all packages installed with easy

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 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


As of version 1.3 of pip you can now use pip list

It has some useful options including the ability to show outdated packages. Here's the documentation: https://pip.pypa.io/en/latest/reference/pip_list/


If anyone is wondering you can use the 'pip show' command.

pip show [options] <package>

This will list the install directory of the given package.

链接地址: http://www.djcxy.com/p/4480.html

上一篇: 用pip查找安装哪个版本的软件包

下一篇: 查找所有安装简单的软件包