Home > Backend Development > Python Tutorial > what is python pip

what is python pip

silencement
Release: 2020-09-15 11:54:39
Original
19715 people have browsed it

Pip is the package management tool officially recommended by Python. It provides the functions of finding, downloading, installing, and uninstalling Python packages. It is a part of Python. Versions of Python 3.0 and above come with pip, so there is no need to download and install it again.

what is python pip

Open the command line, shortcut key: win r, enter pip3 -V to view the version of pip, as follows

what is python pip

If you need to upgrade pip, there are two ways. Enter the following command on the command line

##python -m pip install --upgrade pip or easy_install.exe pip to upgrade pip

Use pip to install third-party libraries, execute: pip install xxx in the command line. xxx is the name of the library we need to install. For example, if you install the requests library

what is python pip

#, you can see that the requests library is being installed. Similarly, we can also install other third-party libraries using this method.

The above is the detailed content of what is python pip. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template