"pip" not recognized as an Internal or External Command:Troubleshooting
When installing Django, the error "pip is not recognized as an internal or external command" can arise. This indicates that your PATH system variable does not include the path to the pip executable.
Solution:
To resolve this, follow these steps:
Modify your PATH variable: Add the pip installation path to your PATH variable. You can do this through:
Command Prompt: You can also use the setx command. Open a command prompt window and type the following:
setx PATH "%PATH%;C:\Python34\Scripts"
Additional Notes:
If the pip installation path is not in your PATH variable, you can temporarily add it by prefixing the command with the path. For example:
C:\Python34\Scripts\pip install Django
By following these steps, you can resolve the error "pip is not recognized as an internal or external command" and continue with your Django installation.
The above is the detailed content of Why is 'pip' not recognized as an internal or external command, and how can I fix it?. For more information, please follow other related articles on the PHP Chinese website!