python - pip broken after upgrading -
I have installed PIP - U easy installation, and then PIP installation - UP to upgrade my PP though, me This error occurs when trying to use PP:
root @ d8fb98fc3a66: / # that pip / usr / local / bin / pip root @ d8fb98fc3a66: / # pip bash : / Usr / bin / pip: There is no such file or directory This is an Ubuntu 12.04 in a Docker Image.
One reason location can be missed.
You can clear the cached locations by issuing the following command:
hash -r SIDENOTE: its Instead of using which , using type , you can see the hashed locations: $ type pip pip / usr / local / Bin / pip $ pip -v pip / usr / local / lib / python2 to 1.5.6. 7 / Dist-package (Python 2.7) $ Type Pip PIP Hash (/ usr / local / bin / pp)
Comments
Post a Comment