PIP (page 2 of 4) |
pip is a tool that helps to install and manage third-party libraries and packages. The pip tool is extremely valuable because it enables developers to not have to reinvent the wheel with every project or task. The pip utility is included with the base Python interpreter installation since Python 2.7.9. The base syntax in the terminal is as follows:
Part 1 of the statement: pip: Invokes the pip utility and passes the trailing tokens as arguments.
Part 2 of the statement: install: Instructs the pip utility that a package needs to be installed. We can replace install with uninstall to remove a package.
Part 3 of the statement: package_name: Denotes the name of the package that has to be installed (or uninstalled).