How can I get a list of locally installed Python modules?

前端 未结 30 2583
庸人自扰
庸人自扰 2020-11-22 04:32

I would like to get a list of Python modules, which are in my Python installation (UNIX server).

How can you get a list of Python modules installed in your computer?

30条回答
  •  無奈伤痛
    2020-11-22 04:47

    There are many way to skin a cat.

    • The most simple way is to use the pydoc function directly from the shell with:
      pydoc modules

    • But for more information use the tool called pip-date that also tell you the installation dates.
      pip install pip-date


提交回复
热议问题