I recommend you to uninstall python and then reinstall it again. In the installation window, use custom installation and check all the option which includes pip and also check to add pip to your environment variables.

Answer from Aashrut Vaghani on Stack Overflow
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.1.2
We test that pip runs correctly in this form, but it is possible that there could be issues in some situations. We will accept bug reports in such cases, but for now the zip application should not be used in production environments. In addition to installing pip in your environment, pip is available as a standalone zip application.
Discussions

python - How do I install pip on Windows? - Stack Overflow
pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way? More on stackoverflow.com
🌐 stackoverflow.com
How to Install PIP for Python on Windows 11?
What are the steps to install PIP for Python on Windows 11? The goal is to use Python with Microsoft Excel and, if possible, replace VBA entirely. More on learn.microsoft.com
🌐 learn.microsoft.com
1
0
Beginner trying to install/import pip on Windows 11
Pip is always installed alongside Python these days. If you're getting a syntax error, that is almost always because you're trying to run it inside the Python console. pip is a command-line tool so you need to run it from the Windows cmd or powershell. Usually in Windows you would need to do py -m pip. More on reddit.com
🌐 r/learnpython
5
2
May 16, 2024
Any advice on how to install PIP into a windows system?
Version 3.13 on windows comes with pip preinstalled. You don't need to do anything. But I want PIP in the IDLE, Not sure what you mean with that. You can just import pip but that's not something we generally do; pip is designed to be used from the cmd line / terminal, not from within python or IDLE. What are you trying to install via pip? If you want to use PIL, for example, you would type this into cmd or powershell py -m pip install pillow and then reboot IDLE. Then you can use from PIL import Image inside your python programs. More on reddit.com
🌐 r/learnpython
27
0
December 28, 2024
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages - Python Packaging User Guide
python3 -m pip install 'SomePackage[PDF]' python3 -m pip install 'SomePackage[PDF]==3.0' python3 -m pip install -e '.[PDF]' # editable project in current directory Windows
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install pip on windows
How to Install pip on Windows
March 24, 2025 - Install PIP on Windows using two different methods: ensurepip and get-pip.py. Learn how to upgrade and downgrade pip.
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-pip-on-windows
How to Install PIP on Windows - GeeksforGeeks
February 16, 2026 - Python pip must be manually installed on Windows. We can pip install in Python by manually installing it. You might need to use the correct version of the file from pypa.io if you're using an earlier version of Python or pip.
🌐
AlexHost
alexhost.com › home › faq › windows › how to install pip on windows: a comprehensive guide
How to Install PIP on Windows: A Comprehensive Guide
October 3, 2024 - In Command Prompt, navigate to the script's directory using: ... Typically, the path is `C:Python39Scripts` or similar. ... Right-click the Start menu and select System. Click on Advanced system settings.
🌐
Dataquest
dataquest.io › blog › install-pip-windows
How to Install PIP on Windows (w/ Screenshots) – Dataquest
May 12, 2025 - To downgrade PIP on Windows, we need to open the command line and run a command with the following syntax: ... Let's say, we want to downgrade it to v20.3. Then the exact command will be: python -m pip install pip==20.3
Find elsewhere
🌐
AvenaCloud
avenacloud.com › home › how to install pip on windows 10, 11
How To Install Pip On Windows — 10, 11 Step-by-Step Guide
October 28, 2025 - Quick, clear steps to learn how to install pip on Windows, add it to PATH, troubleshoot errors, and start installing Python packages confidently.
Address   Muncesti 364, 2002, Chisinau
🌐
Educative
educative.io › answers › how-to-install-pip-on-windows
How to install pip on Windows
To install pip on Windows, we can use the Python installer or download and install it manually.
🌐
Liquid Web
liquidweb.com › home › how to install pip on windows
How to Install PIP on Windows in 5 Steps | Liquid Web
Starting from Python 3.4 and later, PIP comes pre-installed. This tutorial will show how to install PIP, check its version, and configure it for use. ... Watch the video below or get started with step 1 now. ... Note: To open a Windows command prompt, press the “Windows Key+R” to open a “Run” dialog box.
Published   June 9, 2025
Top answer
1 of 16
1967

Python 3.4+ and 2.7.9+

Good news! Python 3.4 (released March 2014) and Python 2.7.9 (released December 2014) ship with Pip. This is the best feature of any Python release. It makes the community's wealth of libraries accessible to everyone. Newbies are no longer excluded from using community libraries by the prohibitive difficulty of setup. In shipping with a package manager, Python joins Ruby, Node.js, Haskell, Perl, Go—almost every other contemporary language with a majority open-source community. Thank you, Python.

If you do find that pip is not available, simply run ensurepip.

  • On Windows:

    py -3 -m ensurepip
    
  • Otherwise:

    python3 -m ensurepip
    

Of course, that doesn't mean Python packaging is problem solved. The experience remains frustrating. I discuss this in the Stack Overflow question Does Python have a package/module management system?.

Python 3 ≤ 3.3 and 2 ≤ 2.7.8

Flying in the face of its 'batteries included' motto, Python ships without a package manager. To make matters worse, Pip was—until recently—ironically difficult to install.

Official instructions

Per https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip:

Download get-pip.py, being careful to save it as a .py file rather than .txt. Then, run it from the command prompt:

python get-pip.py

You possibly need an administrator command prompt to do this. Follow Start a Command Prompt as an Administrator (Microsoft TechNet).

This installs the pip package, which (in Windows) contains ...\Scripts\pip.exe that path must be in PATH environment variable to use pip from the command line (see the second part of 'Alternative Instructions' for adding it to your PATH,

Alternative instructions

The official documentation tells users to install Pip and each of its dependencies from source. That's tedious for the experienced and prohibitively difficult for newbies.

For our sake, Christoph Gohlke prepares Windows installers (.msi) for popular Python packages. He builds installers for all Python versions, both 32 and 64 bit. You need to:

  1. Install setuptools
  2. Install pip

For me, this installed Pip at C:\Python27\Scripts\pip.exe. Find pip.exe on your computer, then add its folder (for example, C:\Python27\Scripts) to your path (Start / Edit environment variables). Now you should be able to run pip from the command line. Try installing a package:

pip install httpie

There you go (hopefully)! Solutions for common problems are given below:

Proxy problems

If you work in an office, you might be behind an HTTP proxy. If so, set the environment variables http_proxy and https_proxy. Most Python applications (and other free software) respect these. Example syntax:

http://proxy_url:port
http://username:password@proxy_url:port

If you're really unlucky, your proxy might be a Microsoft NTLM proxy. Free software can't cope. The only solution is to install a free software friendly proxy that forwards to the nasty proxy. http://cntlm.sourceforge.net/

Unable to find vcvarsall.bat

Python modules can be partly written in C or C++. Pip tries to compile from source. If you don't have a C/C++ compiler installed and configured, you'll see this cryptic error message.

Error: Unable to find vcvarsall.bat

You can fix that by installing a C++ compiler such as MinGW or Visual C++. Microsoft actually ships one specifically for use with Python. Or try Microsoft Visual C++ Compiler for Python 2.7.

Often though it's easier to check Christoph's site for your package.

2 of 16
310

-- Outdated -- use distribute, not setuptools as described here. --
-- Outdated #2 -- use setuptools as distribute is deprecated.

As you mentioned pip doesn't include an independent installer, but you can install it with its predecessor easy_install.

So:

  1. Download the last pip version from here: http://pypi.python.org/pypi/pip#downloads
  2. Uncompress it
  3. Download the last easy installer for Windows: (download the .exe at the bottom of http://pypi.python.org/pypi/setuptools ). Install it.
  4. copy the uncompressed pip folder content into C:\Python2x\ folder (don't copy the whole folder into it, just the content), because python command doesn't work outside C:\Python2x folder and then run: python setup.py install
  5. Add your python C:\Python2x\Scripts to the path

You are done.

Now you can use pip install package to easily install packages as in Linux :)

🌐
Hostman
hostman.com › tutorials › how to install pip on windows
How to Install pip on Windows: Step-by-Step Guide
January 15, 2025 - A guide for installing pip on Windows, verifying Python, downloading get-pip.py, setting up pip, and ensuring secure package management.
Price   $
Address   1999 Harrison St 1800 9079, 94612, Oakland
🌐
JanBask Training
janbasktraining.com › community › python-python › how-to-install-pip-on-windows
how to install pip on windows | JanBask Training Community
September 16, 2025 - How can you install pip on Windows, and what steps are required to set it up properly? This guide walks you through the installation process so you can easily manage Pyth
🌐
Guru99
guru99.com › home › python › how to install pip on windows
How to install PIP on Windows
4 days ago - You can manually install PIP, just use the correct version of the get-pip.py file from pypa.org. This get-pip.py is a bootstrapping script that is used to install PIP in Python environments. Here are the steps to manually install PIP on Windows:
🌐
Voxfor
voxfor.com › blog › windows › how to install pip on windows for python: step-by-step guide
How to Install PIP on Windows for Python | Complete Guide
In this guide, we will walk you through how to install PIP on Windows. PIP is a package manager for Python that helps you install and manage library
Published   October 21, 2024
🌐
Stack Abuse
stackabuse.com › how-to-install-pip-on-windows
How to Install Pip on Windows
October 10, 2023 - This article shows you how to install Pip, the preferred package manager in Python for tools and projects, on Windows, as well as how to uninstall pip.
🌐
XDA Developers
xda-developers.com › home › python › how to install pip on windows
How to install Pip on Windows
September 18, 2023 - Let's take a look at a step-by-step guide detailing how to install Pip on Windows in 2023.
🌐
Beebom
beebom.com › how-install-pip-windows
How to Install Pip on Windows in 2024 (Easy Guide) | Beebom
October 15, 2025 - Here is how you can set up Pip on Windows. 1. First and foremost, move to this link and download the latest version of Python for Windows. 2. After that, double-click on the setup file.