how can I see my installed libraries in python ?

I would like to have a list with my installed libraries in my python console. How can be that possible ?

Upvotes: 2

Views: 13831

Answers (3)

e.s.
e.s.

Reputation: 1371

in command line: pip list

you can output as pip freeze

just typing pip in a command line will give you all the very handy pip commands and flags

Upvotes: 3

Blue Bird
Blue Bird

Reputation: 45

import pip
pip.get_installed_distributions()

Will give you the list of all the installed packages.

Upvotes: 2

sachin dubey
sachin dubey

Reputation: 779

You can use help command.just type help("modules") in python idle or console

help("modules")

Upvotes: 2

Related Questions