Open In App

How to Install Kaleido in Python on MacOS?

Last Updated : 28 Dec, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

Kaleido is a cross-platform Python library for providing useful functions for generating static images such as jpg, png, SVG, and even pdf for web-based visualization libraries like Plotly. It provides a low-level Python API specially designed for use with high-level plotting libraries such as Plotly. Here, we will see an easy way to install Kaleido on macOS. Below are some recommended things that you should have for installing the Kaleido library on macOS are:

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

Installation of Kaleido Library in Python on macOS

Step 1: Installation of the Kaleido library in Python.

For PIP Users

Users who prefer pip can install the Kaleido library on macOS using the following command in the terminal:

pip install Kaleido

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

Installing-kaleido-using-pip
 

For Conda Users

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

conda install -c conda-forge python-kaleido

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

Installing-kaleido-using-conda
 

Step 2: Verification of the Kaleido library in Python.

For PIP Users

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

pip show Kaleido

If successfully installed you will get the following output.

Verifying-kaleido-using-pip
 

For Conda Users

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

conda list Kaleido

If successfully installed you will get the following output.

Verifying-kaleido-using-conda
 

Next Article

Similar Reads