Little side note for anyone new to Python who didn't figure it out by theirself: this should be automatic when installing Python, but just in case, note that to run Python using the python command in Windows' CMD you must first add it to the PATH environment variable, as explained here.

If you have the Python launcher installed, in such case instead of typing python in the console you can type py. Whether or not one or both commands are available depends on the choices you made during installation.


To execute Pip, first of all make sure you have it installed, so type in your CMD:

> python
>>> import pip
>>>

The above should proceed with no error. Otherwise, if this fails, you can look here to see how to install it. Now that you are sure you've got Pip, you can run it from CMD with Python using the -m (module) parameter, like this:

> python -m pip <command> <args>

Where <command> is any Pip command you want to run, and <args> are its relative arguments, separated by spaces.

For example, to install a package:

> python -m pip install <package-name>
Answer from Marco Bonelli on Stack Overflow
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages — Python Packaging User Guide
Be cautious if you’re using a Python install that’s managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state. You can use python get-pip.py --prefix=/usr/local/ to install in /usr/local which is designed for locally-installed software.
🌐
W3Schools
w3schools.com › python › python_pip.asp
Python PIP
Open the command line interface and tell PIP to download the package you want. Navigate your command line to the location of Python's script directory, and type the following: ... Now you have downloaded and installed your first package!
Discussions

python - How to run Pip commands from CMD - Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives ... Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... As I understand, Python 2.7.9 comes with Pip installed, however when I ... More on stackoverflow.com
🌐 stackoverflow.com
How to...pip install?
I'm going to make the assumption that you don't use a virtual environment for this project. Try entering this into the VS Code terminal: py -m pip install requests This should always work on Windows as long as you have Python installed. Just make sure to not enter it into the Python REPL (starting with >>>) as this is not Python code. More on reddit.com
🌐 r/learnpython
21
7
April 5, 2024
How do I use pip?
pip is the package (or module) manager for python and will be included for almost any python project. It should come with python when it is installed, and you can check to see if it is installed by running either pip or pip3. If you get a list of commands then it's installed. Read more about it here More on reddit.com
🌐 r/learnpython
9
3
December 20, 2022
How do I install PiP
Where are you running pip install praw?. Try running it in a normal command prompt. Also, try running py -m pip install praw instead More on reddit.com
🌐 r/learnpython
12
26
June 14, 2021
🌐
pip
pip.pypa.io › en › stable › getting-started
Getting Started - pip documentation v26.0.1
$ python -m pip install git+https://github.com/pypa/sampleproject.git@main [...] Successfully installed sampleproject Windows · C:> py -m pip install git+https://github.com/pypa/sampleproject.git@main [...] Successfully installed sampleproject · See VCS Support for more information about this syntax. pip can install directly from distribution files as well. They come in 2 forms: source distribution (usually shortened to “sdist”)
🌐
Reddit
reddit.com › r/learnpython › how to...pip install?
r/learnpython on Reddit: How to...pip install?
April 5, 2024 -

Never thought I'd need to ask this question as a CCNA and Network+ holder, I guess Python has decided to make the simple act of a pip install THIS difficult, wow! I have Python installed as well as Virtual Studio Code. I try this from command prompt

pip3 install requests
File "<stdin>", line 1
pip3 install requests
^^^^^^^

And that's all I get, again and again and again. So I try this in the Visual Studio terminal:

pip3 : The term 'pip3' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 

spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • pip3 install requests

  •   + CategoryInfo          : ObjectNotFound: (pip3:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
      
    

Mind blowing stuff here. I JUST want to be able to pip install. I've also tried just using "pip" and leaving out the 3. What mountains must I move to perform such a basic task? I

🌐
PyPI
pypi.org › project › pip
pip · PyPI
The PyPA recommended tool for installing Python packages. ... pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes.
      » pip install pip
    
Published   Feb 05, 2026
Version   26.0.1
🌐
Real Python
realpython.com › what-is-pip
Using Python's pip to Manage Your Projects' Dependencies – Real Python
December 22, 2024 - What is pip? In this beginner-friendly tutorial, you'll learn how to use pip, the standard package manager for Python, so that you can install and manage packages that aren't part of the Python standard library.
Find elsewhere

Little side note for anyone new to Python who didn't figure it out by theirself: this should be automatic when installing Python, but just in case, note that to run Python using the python command in Windows' CMD you must first add it to the PATH environment variable, as explained here.

If you have the Python launcher installed, in such case instead of typing python in the console you can type py. Whether or not one or both commands are available depends on the choices you made during installation.


To execute Pip, first of all make sure you have it installed, so type in your CMD:

> python
>>> import pip
>>>

The above should proceed with no error. Otherwise, if this fails, you can look here to see how to install it. Now that you are sure you've got Pip, you can run it from CMD with Python using the -m (module) parameter, like this:

> python -m pip <command> <args>

Where <command> is any Pip command you want to run, and <args> are its relative arguments, separated by spaces.

For example, to install a package:

> python -m pip install <package-name>
Answer from Marco Bonelli on Stack Overflow
🌐
Python
docs.python.org › 3 › installing › index.html
Installing Python modules — Python 3.14.4 documentation
For Windows users, the examples in this guide assume that the option to adjust the system PATH environment variable was selected when installing Python. It’s also possible to specify an exact or minimum version directly on the command line. When using comparator operators such as >, < or some other special character which get interpreted by shell, the package name and the version should be enclosed within double quotes: python -m pip install SomePackage==1.0.4 # specific version python -m pip install "SomePackage>=1.0.4" # minimum version
🌐
Pip
pip.pypa.io
pip documentation v26.0.1
pip is the package installer for Python. You can use it to install packages from the Python Package Index and other indexes.
🌐
PythonForBeginners.com
pythonforbeginners.com › home › how to use pip in python
How to use Pip in Python - PythonForBeginners.com
August 27, 2020 - To install Pip on your system, you can use either the source tarball or by using easy_install. >> $ easy_install pip After that, the pip application is installed. ... $ pip uninstall simplejson Uninstalling simplejson: /home/me/env/lib/python2.7/site-packages/simplejson /home/me/env/lib/python2.7/site-packages/simplejson-2.2.1-py2.7.egg-info Proceed (y/n)?
🌐
ProjectPro
projectpro.io › recipes › use-pip-python
How to use Pip in Python -
July 20, 2022 - This recipe helps understand Pip and use Pip in Python. It also explains the various pip commands available
🌐
The New Stack
thenewstack.io › home › how to use python pip (and why you need to)
How To Use Python pip (and Why You Need To) - The New Stack
September 14, 2024 - curl https://bootstrap.pypa.io/get-pip.py | python3 For Windows, download the standalone ZIP application and use it with any supported version of Python. As soon as you install it, upgrade it with the command: pip install --upgrade pip It seems odd that you’d upgrade pip with pip, but that’s how it goes. You might run into instances where pip will fail to function properly because it requires an upgrade.
🌐
Packagecloud
blog.packagecloud.io › everything-you-want-to-know-about-pip
The pip commands you will use the most in Python | Packagecloud Blog
A Python package is a simple directory that contains groups of modules. Packages contains Python modules and a __init__.py file. The Python standard library provides packages to perform various functions and pip can be used to install packages that are not a part of the Python standard library.
🌐
Datamentor
datamentor.io › python › pip
Python Pip (With Examples)
In this tutorial, you will learn how to use pip to install and manage Python packages.
🌐
GeeksforGeeks
geeksforgeeks.org › python-pip
Python PIP - GeeksforGeeks
May 10, 2025 - We can install additional packages by using the Python pip install command. Let's suppose we want to install the Numpy using PIP. We can do it using the below command. ... Example 1: When the required package is not installed. ... Example 2: When the required package is already installed. ... We can also install the package of a specific version by using the below command. ... We can use the Python pip show command to display the details of a particular package.
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.0.1
How pip is used in interactive environments (i.e. CI, CD) ... If your Python environment does not have pip installed, there are 2 mechanisms to install pip supported directly by pip’s maintainers:
🌐
Python Packaging
packaging.python.org › installing
Installing Packages - Python Packaging User Guide
July 5, 2023 - Due to the way most Linux distributions are handling the Python 3 migration, Linux users using the system Python without creating a virtual environment first should replace the python command in this tutorial with python3 and the python -m pip command with python3 -m pip --user.
🌐
Note.nkmk.me
note.nkmk.me › home › python
How to Use pip (Install, Update, Uninstall Packages) | note.nkmk.me
April 18, 2025 - Use pip uninstall to uninstall packages. ... Multiple packages can be uninstalled at the same time. $ pip uninstall <package-name1> <package-name2> <package-name3> ... By default, the system asks for confirmation before actually removing the package. $ pip uninstall pyflakes Found existing installation: pyflakes 3.0.1 Uninstalling pyflakes-3.0.1: Would remove: /opt/homebrew/bin/pyflakes /opt/homebrew/lib/python3.11/site-packages/pyflakes-3.0.1.dist-info/* /opt/homebrew/lib/python3.11/site-packages/pyflakes/* Proceed (y/n)?
🌐
freeCodeCamp
freecodecamp.org › news › how-to-use-pip-install-in-python
How to Use pip install in Python
January 19, 2020 - Installing it would be as simple as pip install requests . You can even pass various arguments along with it. The one that you’ll come across more often is --upgrade. You can upgrade a python module by : ... For example, to upgrade the requests ...