![]() ![]() We can install pip with the easy_install command like below. If the pip is already installed we can also upgrade the existing pip installation with the easy_install like below. $ sudo pip install -upgrade pip Install Pip with get-pip.py On MacOS We will use the pip command because it installed already and provide the -upgrade option with the package name which is also pip. Get-pip.py is another way to install pip in MacOS. get-pip.py is a Python script that will simply download and install the Pip package for Python. ![]() First, we will download the get-pip.py script with the curl command. We will provide the URL with the -o option where we will set the name of the downloaded get-pip.py file name. $ curl -o get-pip.pyĪND then we will call the get-pip.py with the Python interpreter. ![]()
0 Comments
Leave a Reply. |