I would like to have a list with my installed libraries in my python console. How can be that possible ?
Asked
Active
Viewed 483 times
0
-
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
0
You can use help command.just type help("modules") in python idle or console
help("modules")
![](../../users/profiles/8862426.webp)
sachin dubey
- 735
- 6
- 27
0
import pip
pip.get_installed_distributions()
Will give you the list of all the installed packages.
![](../../users/profiles/5557548.webp)
Blue Bird
- 25
- 5
0
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
![](../../users/profiles/7264269.webp)
e.s.
- 1,183
- 5
- 10