I added the pip
installation folder in my python site-packages directory to my PATH, but I can still only run it via python -m pip
in my git bash. Just pip
gives me command not found
.
I looked around the pip
directory and I don't see any binaries, so this makes sense. Yet clearly pip
is a thing that is normally used on the command line without python -m
. So what component am I missing here?
Try adding C:/path/to/python/Scripts/
to PATH
There should be a pip.exe there!
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)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.