Sunday, December 21, 2014

Installed package information in python

When you installed a package using pip or easy_install, show command can tell you where you package is installed. Normally it goes to lib folder in python path.

pip show [options] <package>

Example:
pip show pymongo
Name: pymongo
Version: 2.7.2
Location: /Users/anaconda/lib/python2.7/site-packages

-----------

'List' command will show all the installed packaged.
pip list
or
pip freeze



No comments:

Post a Comment