0% found this document useful (0 votes)
244 views3 pages

Pip Install

Uploaded by

Sameer Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
244 views3 pages

Pip Install

Uploaded by

Sameer Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Step 2: Confirm that Python is installed.

The simplest way to test for a Python installation on your Windows server is to open a command
prompt. Once a command prompt window opens, type python and press Enter. If Python is installed
correctly, you should see an output similar to what is shown below.

Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, [Link]) [MSC v.1914 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

If you receive a message like:

Python is not recognized as an internal or external command, operable program or batch file.

Python is either not installed or the system variable path has not been set. You will need to either
launch Python from the folder in which it is installed or adjust your system variables to allow Python to
be launched from any location. For more information about installing and using Python, see our article
on how to install python on Windows.

Step 3: Installing Pip on Windows

Once you have confirmed that Python is installed correctly, we can proceed with installing Pip.

Download [Link] to a folder on your computer.

Open a command prompt and navigate to the folder containing the [Link] installer.

Run the following command:

python [Link]

Pip should now be installed successfully. If we receive a “file not found” error, double check the
directory path to the file. You can use the dir command to view the entire contents of a directory. It
should be noted that Pip is installed by default with Python versions Python 2.7.9+ and Python 3.4+. As a
side note, Pip also sets up both the virtualenv and pyvenv virtual environments when installed.

Step 4: Verify Installation and Check the Pip Version


We can now verify that Pip was installed correctly by opening a command prompt and entering the
following command.

pip -V

You should see output similar to the following:

pip 18.0 from c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pip


(python 3.7)

Step 5: Using Pip to Manage Python Packages

Now that Pip is installed and configured, you can begin using it to manage your Python packages. For a
brief overview of the available commands and syntax for Pip, open a command prompt and enter:

pip help

Step 6: Configuration

The PIP configuration file can be found at %HOME%\pip\[Link].

Pip also contains a legacy per-user configuration file. This file is located at %APPDATA%\pip\[Link].

You can also specify a custom path location for this config file using the environment variable
PIP_CONFIG_FILE.

Upgrading Pip

Like all software, it’s important to keep all of your installations up to date to take advantage of the latest
features and security fixes. You can actually use Pip to update itself! To accomplish this, open a
command prompt window and enter the following command

python -m pip install --upgrade pip

This command uninstalls the old version of Pip and installs the latest version.
Downgrading Pip

While uncommon, you may need to downgrade to an earlier version of Pip because of compatibility
issues. To downgrade to a specific version of Pip, open the command prompt and enter the following
command (using the version number you need installed).

python -m pip install pip==18.0

You should now have the desired version of Pip installed. You can verify with the pip -V command.

All of Liquid Web’s Windows core-managed servers can run Python and our support team can assist with
installation and verification if needed. ActiveState Python 2.6.5 can be installed on Plesk Fully Managed
servers if desired.

The Most Helpful Humans In Hosting®

We pride ourselves on being The Most Helpful Humans In Hosting®! Our support staff is always available
to assist with any Dedicated, Cloud, or VPS server issues 24 hours a day, 7 days a week 365 days a year.

We are available, via our ticketing systems at support@[Link], by phone (at 800-580-4986), or
via a LiveChat for whatever method you prefer. We work hard for you so you can relax.

You might also like