Home>Article>Backend Development> what is python pip

what is python pip

silencement
silencement Original
2019-05-17 14:17:12 19618browse

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!

Statement:
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
Previous article:What is a python script? Next article:What is a python script?