Python – How to list the files associated with a Python package installed using pip or easy_install

pippython

I've installed a Python package using pip, which is a replacement for easy_install. How do I get a list of which installed files are associated with this package?

Basically, I'm looking for the Python package equivalent of

dpkg -L

or

rpm -ql

Best Answer

You could do that by using command:

pip show -f <package>