1. Function
pip is a Python package management tool that provides a Python package to find, download, install, uninstall function. If you are currently in python.org download the latest version of the installation package is already comes with the tool.
2. The official website address
pip official website: https://pypi.org/project/pip/
Note : You can be judged by whether or not the command (the operation terminal) has been installed:
pip --version
3. Common Commands
1. Display version and path
pip --version
2. Getting Help
pip --help
3. Upgrade version pip
python3 -m pip install --upgrade pip
4. Installation Package
pip install the package name
Or using ==> = <=> <specified version, do not write install the latest version
For example: pip install SomePackage == 1.1.2 (1.1.2 installed version of the package)
pip install SomePackage> = 1.1.2 (1.1.2 or later installation of the package includes versions)
The upgrade package
pip install --upgrade SomePackage
Note : Upgrade packet specified by using ==,> =, <=,>, <to specify a version number.
6. uninstalling packages
pip uninstall SomePackage
7. Search package
pip search SomePackage
8 shows the installation package information
pip show SomePackage
9. Review the details specified package
pip show -f SomePackage
10. List installed package
pip list
11. Review scalable package
pip list -o
Specific command is as follows: