Home » Python

Install pip on MacOS or OSx

Here, we are going to learn about the pip and we will learn how we can install pip on MacOS and OSx system?
Submitted by Sapna Deraje Radhakrishna, on November 19, 2019

What is a PIP?

pip is a tool for installing and managing the python packages. Like Python, pip can be installed on all operating systems.

Python: install pip

To install the latest version of pip, run the below command in MacOS,

    $ sudo easy_install pip
    $ sudo pip install --upgrade pip

To install the pip in the Ubuntu, use the apt-get manager

    $ sudo apt-get update
    $ sudo apt-get install python-pip
    $ sudo pip install --upgrade pip

To install the pip in Centos, use yum manager

    $ sudo yum update
    $ sudo yum install epel-release
    $ sudo yum install python-pip
    # version>= Centos7
    $ sudo pip install --upgrade pip

Note: only Centos7 and above supports python3.







Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.




Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.