Some useful
#python #pip #list #freeze #show #info #search
pip (python package manager) command:show: used to know specific information about a module installed on your system:$ pip show requests
Name: requests
Version: 2.13.0
Summary: Python HTTP for Humans.
Home-page: https://python-requests.org
Author: Kenneth Reitz
Author-email: [email protected]
License: Apache 2.0
Location: /Library/Python/2.7/site-packages
Requires:
search: used to search a python package on pypi.python.org:$ pip search "suds"
suds-aop (0.6.1) - Lightweight SOAP client (aop's fork)
...
...
...
NOTE: the above list is truncated.list: list installed packages.pip list
NOTE: you can grep on pip list to see if a specific package is installed or check its version:pip list | grep "requests"
freeze: this command does the the same task as list, but its output can be placed inside of the requirements.txt.uninstall: remove a package from your system:pip uninstall requests
#python #pip #list #freeze #show #info #search