Contents...
PIP stands for Point In Percentage. It is a package management system used to install and manage software packages written in Python. PIP is similar tool such as the bundle, composer, npm in another programming language.
Using PIP, you can install the module. It will install the dependency also. To install packages first you will need to download PIP.
PIP Installation
There are two way to install PIP, both methods are given below.
Using easy_install
Easy Install is a python module available with setup tools. This is also used to manage, download, build, and install python modules.
# easy_install pip
Using Python Script
You can also use pip installation script to install PIP. Download the script on your system using wget or curl, then run the script with appropriate python version for which you need to install pip.
# curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" # python get-pip.py ###For specific python version ## # python3 get-pip.py
Verify Installation
Now verify the installed version of PIP using –V option like below.
# pip -V # pip3 -V [For specific python version]
Install Packages using PIP command
You can use pip command to install any packages on your system. PIP provides a simple command to install or uninstall packages on your system.
# pip install package_name
To remove package.
# pip uninstall package_name
You can install multiple packages for any specific application. PIP can also take the input from file for the number of packages to install. Just add the required packages name with their version with a properly formatted file like multipackages.txt file and execute the below command.
# pip install -r multipackages.txt
Thanks:)
If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.
Leave a Comment