Open In App

How to Install Eli5 in Python on MacOS?

Last Updated : 28 Dec, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Eli5 is an open-source library that is written purely in Python for easy and quick debugging of machine learning classifiers and interpreting their predictions. It provides support for machine learning frameworks and packages such as sci-kit-learn, Keras, xgboost, etc. The Eli5 library is a cross-platform library for various operating systems including Windows, Linux, and macOS. In this article, we will see the easy way to install the Eli5 library on macOS. Below are some recommended things that you should have for installing the Eli5 library on macOS are:

  • Python
  • PIP or Conda (Depending upon user preference)

Installation of Eli5 Library in Python on MacOS

Step 1: Installation of Eli5 library in Python

For PIP Users:

Users who prefer pip can install the Eli5 module on macOS using the following command in the terminal:

pip install eli5

After the installation has been completed successfully, you will receive a similar message.

Installing-eli5-library-using-pip

 

For Conda Users:

Same as above, Users who prefer conda can install the Eli5 library on macOS using the following command in the terminal:

conda install -c conda-forge eli5

Enter y when prompted for yes. You will receive a similar message after the installation has been completed successfully.

Installing-eli5-library-using-conda

 

Step 2: Verification of Eli5 library in Python.

For PIP Users:

To verify that Eli5 has been successfully installed on your system, run the following command in the terminal:

pip show eli5

If successfully installed you will get the following output.

verifying-eli5-library-using-pip

 

For Conda Users:

To verify that Eli5 has been successfully installed on your system, run the following command in the terminal:

conda list eli5

If successfully installed you will get the following output.

verifying-eli5-library-using-conda

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads