There is no such file or directory: '/ usr / local / bin / pip'

I had a pip installed earlier on my OSX, but it somehow does not work. So, I tried again to install pip using the command:

sudo easy_install pip 

But this gives me an error, as shown below:

 pip 9.0.1 is already the active version in easy-install.pth Installing pip script to /usr/local/bin error: [Errno 2] No such file or directory: '/usr/local/bin/pip' 

I cannot use pip and not install it.

+5
source share
1 answer

I have in the same situation

what i do is delete the pip file in /usr/local/bin and reinstall pip

it works!

+3
source

Source: https://habr.com/ru/post/1261682/


All Articles