Это видео недоступно.
Сожалеем об этом.
SOLVED: PIP is not recognized as an internal or external command (2024)
HTML-код
- Опубликовано: 30 мар 2024
- FIXED: PIP is not recognized as an internal or external command
Download get-pip.py:
curl bootstrap.pypa... -o get-pip.py
Encountering the error "PIP is not recognized as an internal or external command" typically indicates that the PIP executable is not in your system's PATH environment variable. This prevents the command prompt or terminal from recognizing the PIP command. Fortunately, resolving this issue is straightforward, and we'll guide you through the solution in this tutorial.
*Solution:*
*Step 1: Verify PIP Installation:*
1. Open a command prompt or terminal.
2. Type the following command and press Enter:
```
pip --version
```
3. If you receive the "PIP is not recognized" error, proceed to the next step.
*Step 2: Add PIP to PATH Environment Variable:*
1. Locate the directory where Python is installed on your system. By default, PIP is installed in the "Scripts" directory within the Python installation directory.
2. Copy the full path to the "Scripts" directory. For example, it might look like: `C:\Python39\Scripts` on Windows or `/usr/local/bin` on macOS/Linux.
3. Open the Control Panel on Windows or System Preferences on macOS.
4. Navigate to System and Security - System - Advanced system settings (Windows) or System Preferences - Users & Groups - Advanced Options - Login Items (macOS).
5. Click on the "Environment Variables" button.
6. In the Environment Variables window, find the "Path" variable in the "System variables" section and select it.
7. Click on the "Edit" button.
8. Click on the "New" button and paste the path to the "Scripts" directory that you copied earlier.
9. Click "OK" to save the changes and close all windows.
*Step 3: Verify PIP Command:*
1. Close and reopen the command prompt or terminal.
2. Type the following command and press Enter:
```
pip --version
```
3. If PIP is correctly added to the PATH variable, you should see the version information without any errors.
By following these steps, you should have resolved the "PIP is not recognized" error, and you can now use PIP to manage Python packages without encountering any issues.
For more tutorials, tips, and troubleshooting guides, subscribe to our channel and stay tuned for future videos!
#PIP #Python #EnvironmentVariables #PATHVariable #CommandPrompt #Terminal #Troubleshooting #PythonPackages #TechTutorial #SoftwareDevelopment #PythonDevelopment #Programming #DeveloperTools #TechHowTo #PythonTools #PythonPackageInstaller #SoftwareEngineering #TroubleshootingGuide #PythonEnvironment #ProgrammingError #PythonError #DeveloperError #DevelopmentTools
Working perfectly... Viewers must trust.
thanks !!
Nice ❤
working
This command did not work