Home > Backend Development > Python Tutorial > How to install pip under windows

How to install pip under windows

anonymity
Release: 2020-09-17 15:25:07
Original
24108 people have browsed it

How to install pip under windows: 1. Download the pip compressed package from the official website and decompress it; 2. Open the command prompt and enter the decompressed directory; 3. Execute [python3 setup.py install] Just install pip with the command.

How to install pip under windows

1. Download PIP

pip-10.0.1.tar.gz After downloading, unzip the package

2. Use "Command Prompt" on Windows to enter the directory where pip is decompressed

cd C:\Users\stsud\Downloads\pip-10.0.1
Copy after login

1, and then use the command

python3 setup.py install
Copy after login

to install. After the installation is completed, finished will appear indicating that the installation was successful (python3 You need to add it to the environment variables first)

python3 How to add it to the environment variables

This computer-->Properties-->Advanced system settings- ->Environment variables

Check whether the python environment variables are imported successfully:

Then go back to step 1: use python3 setup.py install to install. After the installation is completed, finished appears indicating that the installation is successful

2. You need to add the installation path of pip to the environment variable. The path is generally in the Scripts directory of the directory where python is located.

The installation path of pip is as follows: in the Scripts directory of the directory where python is located.

Write pip3 to the system environment variable in the same way

Check whether the installation is successful, use the command to check

pip3 list
Copy after login

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