Fix Python – How do I search for an available Python package using pip?

Question

Asked By – CodeKingPlusPlus

I would like to be able to search for an available Python package using pip (on the terminal). I would like a functionality similar to apt-cache in Ubuntu. More specifically, I would like to

  1. be able to search for packages given a term (similar to apt-cache search [package-name]), and
  2. list all available packages.

Now we will see solution for issue: How do I search for an available Python package using pip?


Answer

To search for a package, issue the command

pip search [package-name]

This question is answered By – ijmarshall

This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0