Where is pip installed to when using get-pip.py?

前端 未结 7 1723
既然无缘
既然无缘 2021-02-01 04:43

I just installed pip on OS X using the get-pip.py script provided by the developers. The script said it ran successfully, but I cannot execute pip from the command

7条回答
  •  粉色の甜心
    2021-02-01 05:13

    pip binary is named pip3 for python 3

    If you are getting a message Requirement already up-to-date that means pip is already installed on your system and you either don't have the directory which contains the pip program in your path or you are not calling pip correctly.

    If you are using bash, type "pi" and hit tab twice. You will get commands starting with pi and hopefully you will see pip3. Here's why:

    If you installed pip using get-pip.py and you installed it using a python 3 then the pip binary is stored as pip3. Try running the command pip3 instead.

提交回复
热议问题