Where is PIP installed by default with Python 3.7 for Mac? Where is PIP installed by default with Python 3.7 for Mac? curl curl

Where is PIP installed by default with Python 3.7 for Mac?


You need to signal that you are using Python 3 with python3 -m pip ..... otherwise it takes the default Python 2


The following worked for me:

$ which pip3.7

which returned

/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3.7

The purpose of my question was to find out if pip was installed so i could use it to get another package. It was, so I ended up doing the following with success.

$ pip3.7 install requests

which returned

Installing collected packages: idna, urllib3, chardet, certifi, requestsSuccessfully installed certifi-2019.3.9 chardet-3.0.4 idna-2.8 requests-2.22.0 urllib3-1.25.3

I'd imagine that since I only installed Python3.7 on my mac and since pip3.7 was included, i could have likely input pip3 install requests although I am not sure if there were other versions of pip installed prior what would happen, maybe someone could clarify in comments about the nuances.