How to solve the problem that pip is not an internal or external command in cmd

青灯夜游
Release: 2023-01-05 16:14:11
Original
36093 people have browsed it

Solution: 1. Right-click "Computer" and select "Properties" - "Advanced System Settings"; 2. In the "System Properties" interface, select "Environment Variables"; 3. In "User Variables" "Select "path" in the area and click "Edit"; 4. In the "Variable Value" input box of the pop-up window, add the full path of pip and click "OK".

How to solve the problem that pip is not an internal or external command in cmd

The operating environment of this tutorial: windows7 system, python3.7 version, DELL G3 computer

After installing pip, if you do not configure pip, directly Entering pip will prompt: pip is not an internal or external command...

How to solve the problem that pip is not an internal or external command in cmd

Solution:

First, click Computer, Select Properties.

How to solve the problem that pip is not an internal or external command in cmd

Then, open Advanced System Settings.

How to solve the problem that pip is not an internal or external command in cmd

Then select environment variables.

How to solve the problem that pip is not an internal or external command in cmd

Here, select the path and click Edit.

How to solve the problem that pip is not an internal or external command in cmd

Because python has been configured before, here, you only need to add: \Scripts

If there is no configuration, add the full path of pip

For example: C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts

Click OK.

How to solve the problem that pip is not an internal or external command in cmd

Finally, enter cmd again and enter pip. As shown in the figure, pip configuration is successful.

How to solve the problem that pip is not an internal or external command in cmd

[Related recommendations:Python3 video tutorial]

The above is the detailed content of How to solve the problem that pip is not an internal or external command in cmd. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!