Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Python by (19k points)

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 tools (in this case apt-get on Debian).

1 Answer

0 votes
by (106k points)

  • There are many ways to find the packages installed with easy_install/pip but some of the important ways I am discussing here:-

  • The first thing you can use the pip freeze command and it outputs a list of installed packages as well as their versions. The pip freeze command also allows the user to write those packages to a file that can later be used to set up a new environment.

  • After the release of the pip version 1.3, you can use the pip list command which has some useful options including the ability to show outdated packages. 

Related questions

0 votes
1 answer
asked Jul 2, 2019 in Python by Sammy (47.6k points)
+3 votes
2 answers
0 votes
1 answer
+2 votes
3 answers

Browse Categories