Home >Backend Development >Python Tutorial >How to install pip in python

How to install pip in python

藏色散人
藏色散人Original
2019-10-16 11:43:3213406browse

How to install pip in python

How to install pip in python?

Before installing pip, first confirm that your python environment is normal, and then download the pip installation package from the official website.

Recommended: "Python Tutorial"

How to install pip in python

Extract the downloaded package, and then open the command prompt through the win R shortcut window and enter the pip file directory in the command prompt.

How to install pip in python

In the pip directory, enter the command "python setup.py install" to install the pip module; after the installation is complete, there will be the word "Finished".

How to install pip in python

After the installation is completed, enter "pip list" or "pip -help" in the command prompt. If there is corresponding output and no error is reported, pip is successfully installed. .

How to install pip in python

How to install pip in python

Some Python versions have pip installed by default, but they need to be upgraded because they are not the latest. The upgrade command for pip is "python -m install pip --upgrade pip"

How to install pip in python

The above is the detailed content of How to install pip in python. 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