Solution: The name ‘pip’ is not recognized as a cmdlet, function, or operable program

Posted by

‘Pip’ Error Solution

The term ‘pip’ is not recognized as the name of a cmdlet, function, or operable program Solved 100%

If you have encountered the error message “The term ‘pip’ is not recognized as the name of a cmdlet, function, or operable program” while using the command prompt or PowerShell, don’t worry – there is a simple solution!

This error usually occurs when the path to the Python scripts directory is not included in the system’s PATH environment variable. To fix this error, follow these steps:

  1. Open your command prompt or PowerShell.
  2. Type the following command to find the path of the Python scripts directory:
    python -m site --user-base
  3. Copy the path that is displayed in the output.
  4. Now, type the following command to open the system’s environment variables settings:
    systempropertiesadvanced
  5. In the System Properties window, click on the “Environment Variables” button.
  6. In the System Variables section, find the PATH variable and click on the “Edit” button.
  7. Click on the “New” button and paste the path of the Python scripts directory that you copied earlier.
  8. Click “OK” to save the changes and close all windows.
  9. Restart your command prompt or PowerShell and try running the ‘pip’ command again. The error should now be resolved!

By following these simple steps, you can easily solve the “The term ‘pip’ is not recognized as the name of a cmdlet, function, or operable program” error and continue using the pip package manager for Python without any issues.

0 0 votes
Article Rating
37 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@debanjanlaskar8144
5 months ago

Still not working

@MuhammadSajawal-go8yu
5 months ago

Helpful

@Ziad_Saied
5 months ago

Bro you are a life saver thank you sooooooomuch I've been searching for this problem year ago ❤❤❤❤❤❤❤❤❤❤

@VibhaBala7
5 months ago

Thnks bro

@VolodymyrSushanyn-mo3is
5 months ago

Thx bro

@royaltechnics848
5 months ago

in mine still not working

@vivekm7971
5 months ago

Ran in CMD but not in python enviroment

@adnansengendo8182
5 months ago

there is no english version of this ?

@xapnaxkun7557
5 months ago

YOU ARE A LIFESAVER HOLY CRAP, NAH MAN IT ACTUALLY WORKED FOR ME AND NOW I CAN FINALLY DOWNLOAD PYTORCH 😭

@rimpabairagi7118
5 months ago

Now it works thank you

@dexsvoa
5 months ago

Thanks broo

@Hydrofire-dc6xm
5 months ago

Thanks bro 🙏

@Disguisedcharacters
5 months ago

Still getting the same error

@omidesmailzade3794
5 months ago

Good Job Bro

@shoaibdalal4036
5 months ago

i am not able to see python folder in programs. so what should i do. plz tell

@shejalpal7307
5 months ago

Restart the pc after providing the path

@srt478
5 months ago

Still getting pip 😔😭

@in_future_me
5 months ago

Working 💯

@gif395
5 months ago

thanks brother

@user-ni4gk3ln2d
5 months ago

it works brother, thanks