Menu
User

DropVPS Team

Writer: Cooper Reagan

how install pip on windows vps

how install pip on windows vps

Publication Date

03/14/2025

Category

Articles

Reading Time

3 Min

Table of Contents

Pip is the package installer for Python, allowing you to install and manage additional packages that are not part of the Python standard library. If you have a Windows VPS and need to install pip, follow this step-by-step guide.

Prerequisites

Before you begin, ensure that:

  • You have Python installed on your Windows VPS. If Python is not installed, you can download it from the official Python website.
  • You have administrative access to your Windows VPS.

Step 1: Verify Python Installation

Open Command Prompt by pressing Win + R, typing cmd, and hitting Enter. Check if Python is installed by running:

python --version

If you see the version number, Python is installed. If not, download and install Python first.

Step 2: Download get-pip.py

To install pip, you’ll need to download the get-pip.py script. You can do this directly from your Command Prompt using the following command:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

If you don’t have curl installed, you can manually download the script using your web browser. Visit get-pip.py and save the file to your desired location.

Step 3: Run get-pip.py

Navigate to the directory where you saved get-pip.py. If you downloaded it to your Downloads folder, you can change to that directory with:

cd %USERPROFILE%\Desktop

Now, run the script using Python:

python get-pip.py

This command will install pip. You should see output indicating that pip is being installed.

Step 4: Verify pip Installation

Once the installation is complete, verify that pip has been installed successfully by running:

pip --version

You should see the version number of pip displayed, confirming that the installation was successful.

Step 5: Add pip to PATH (if necessary)

If you encounter an error stating that pip is not recognized, you may need to add the pip installation directory to your system’s PATH environment variable. Here’s how to do that:

  1. Press Win + R, type sysdm.cpl, and hit Enter.
  2. In the System Properties window, go to the Advanced tab and click on Environment Variables.
  3. In the Environment Variables window, find the Path variable under System variables and select it, then click Edit.
  4. Click New and add the path to the Scripts directory within your Python installation. It usually looks like this:
    • C:\Python39\Scripts (replace Python39 with your installed Python version)
  5. Click OK to close all dialog boxes.

Step 6: Restart Command Prompt

After updating the PATH variable, close and reopen your Command Prompt to ensure the changes take effect.

Conclusion

You have successfully installed pip on your Windows VPS! You can now use pip to install Python packages by running commands like:

pip install package_name

For example, to install Django, you would run:

pip install django
Windows VPS
U
Loading...

Related Posts

how install pip on windows vps