N Kaushik

How to install matplotlib in windows, mac or linux

September 13, 2021

How to install matplotlib in windows, mac or linux:

matplotlib is a library to create visualization charts in python. The installation is pretty straight forward and if you have Python installed on your system, you can install it using pip. Its releases are available on PyPI.

Install python if you haven’t:

Go to Python download page, download and install python if you haven’t installed it already.

Python download

Verify Python and pip installation:

Verify python and pip is installed or not:

python3 --version
pip3 --version

pip and python3 version check

If both are showing values, then you can use pip to download it.

Install matplotlib:

Use pip to install:

pip3 install matplotlib

That’s all.


Subscribe to my Newsletter