Open In App

How to Install Kaleido in Python on MacOS?

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:

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.

 

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.

 

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.

 

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.

 

Article Tags :