Skip to content
Related Articles

Related Articles

Improve Article
Download and install pip Latest Version
  • Difficulty Level : Expert
  • Last Updated : 23 Mar, 2020

PIP is a package management system used to install and manage software packages/libraries written in Python. These files are stored in a large “on-line repository” termed as Python Package Index (PyPI). After you have successfully installed Python, you would clearly need pip in order to install packages, such as Numpy, Django and lots more on your operating system.

Pip installation

Windows

pip can be downloaded and installed using command-line by going through the following steps:

  • Download the get-pip.py file and store it in the same directory as python is installed.
    Downloading and storing get-pip file
  • Change the current path of the directory in the command line to the path of the directory where the above file exists.
    Changing directory path
  • Run the command given below:
    python get-pip.py

    and wait through the installation process.
    Executing the command

  • Voila! pip is now installed on your system.

For more, visit – How to install PIP on Windows ?

Linux

pip can be downloaded and installed using the terminal in Linux by going through the following command:

sudo apt-get install python3-pip python-dev

Beginning the installation:



  • Getting Started:
    pip-installation-command
  • Providing Disk Space:
    Providing-addition-disk-space
  • Downloading Libraries:
    Downloading Libraries
  • Unpacking File bundles:
    Unpacking-installation-files
  • Finishing up the Installation:
    Finishing-the-installation

For more, visit – How to install PIP in Linux?

macOS

pip in macOS can be downloaded and installed using command-line by going through the following steps:

  • Download the get-pip.py file and store it in the same directory as python is installed.
    or
    Use the following command to download pip directly,
    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    
  • Now execute the downloaded file using below command
    python3 get-pip.py

    and wait through the installation process.
    verify-install-macos-pip

  • Voila! pip is now installed on your system.

Verification of the Installation process:

One can easily verify if the pip has been installed correctly by performing a version check on the same. Just go to the command line and execute the following command:

pip3 --version

install-pip-macOS

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course

My Personal Notes arrow_drop_up
Recommended Articles
Page :