How to make pip available to git bash command line on Windows?
17,755
Solution 1
Try adding C:/path/to/python/Scripts/
to PATH
There should be a pip.exe there!
Solution 2
in your Anaconda directory there is a pip file in the direcctory Scripts.
add this path : C:\Users#yourname\Anaconda3\Scripts
i did the same and it was successful !! (when i wrote pip in git bash it worked)
Comments
-
temporary_user_name almost 2 years
I added the
pip
installation folder in my python site-packages directory to my PATH, but I can still only run it viapython -m pip
in my git bash. Justpip
gives mecommand not found
.I looked around the
pip
directory and I don't see any binaries, so this makes sense. Yet clearlypip
is a thing that is normally used on the command line withoutpython -m
. So what component am I missing here? -
temporary_user_name over 5 yearsQuestion eligible for bounty in two days. It's coming.
-
curlpipesudobash over 5 yearsWow! Thank you.