With Raspberry Pi, you can install pip with ʻapt-get, but I wanted to install pip on macOS, so I got stuck there, so it's a memorandum. I thought it was one shot with Homebrew, but I can't install it with
brew install pip`. [^ 1]
[^ 1]: * I love HomeBrew.
According to the Official Method, the following curl command will download the Python file get-pip
.
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Run the downloaded get-pip.py
to install pip.
$ python3 get-pip.py
Hit the which command to see the path, and the installation itself is complete.
$ which pip
/usr/local/bin/pip
-pip installation page -pip github repository
Recommended Posts