Solution: First select "Computer", right-click the mouse, and select "Properties" in the pop-up right-click menu; then open "Advanced System Settings" - "Advanced" and select "Environment Variables" path"; then click "Edit" and enter "installation python path plus \Scripts".
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
No response when typing pip in cmd is caused by a setting error. The solution is;
First, click on the computer and open properties.
Then, open Advanced System Settings.
Then select environment variables.
Here, click path and select edit.
Because python has been configured before, here, you only need to add: \Scripts after the path. If there is no configuration, change the following path to the path of your own python installation. Add \Scripts such as: C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts and click OK.
Finally, enter cmd again and enter pip. As shown in the figure, pip configuration is successful.
For more computer-related knowledge, please visit theFAQcolumn!
The above is the detailed content of What should I do if there is no pip module when typing pip in cmd?. For more information, please follow other related articles on the PHP Chinese website!