I would like to have a list with my installed libraries in my python console. How can be that possible ?
Asked
Active
Viewed 1.1k times
2
-
1possible duplicate of https://stackoverflow.com/questions/739993/how-can-i-get-a-list-of-locally-installed-python-modules – Sumit S Chawla Nov 30 '17 at 06:35
-
1Possible duplicate of [How can I get a list of locally installed Python modules?](https://stackoverflow.com/questions/739993/how-can-i-get-a-list-of-locally-installed-python-modules) – Bijoy Nov 30 '17 at 08:03
3 Answers
3
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

e.s.
- 1,351
- 8
- 12
1
You can use help command.just type help("modules") in python idle or console
help("modules")

sachin dubey
- 755
- 9
- 28
1
import pip
pip.get_installed_distributions()
Will give you the list of all the installed packages.

Blue Bird
- 35
- 6