Find all packages installed with easy_install/pip?

前端 未结 18 1239
醉话见心
醉话见心 2020-11-27 08:47

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 tool

18条回答
  •  轮回少年
    2020-11-27 09:47

    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

提交回复
热议问题