Skip to content

How do I install pip on Windows?


Installing pip on Windows involves a few steps. If you have Python installed, pip might already be available. Here’s how you can check:

  1. Open a command prompt: Press Win + R, type cmd, and press Enter.
  2. Type python -m pip --version and press Enter. This command checks if pip is already installed.

If you see version information, it means pip is installed. If not, follow these steps to install pip:

  1. Download Python: If you don’t have Python installed, download the latest version of Python from the official website. During installation, make sure to check the box that says “Add Python x.x to PATH”.
  2. Install pip using get-pip.py:
    • Download get-pip.py script from https://bootstrap.pypa.io/get-pip.py.
    • Open a command prompt and navigate to the directory where you downloaded get-pip.py.
    • Run the command: python get-pip.py.
  3. Verify installation:
    • Type python -m pip --version again in the command prompt to confirm that pip has been installed.

Once installed, you can use pip to install Python packages by typing pip install package_name in the command prompt.

Remember, if you already have Python installed, you might need administrative privileges to install pip. Also, ensure you have a stable internet connection during the installation process.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments