Menu Close

Guide to Install Matplotlib, Plotly and Mayavi on Windows, Linux and Mac OS

Python Programming

Installation of Matplotlib, Plotly, and Mayavi on Windows, Linux, and Mac OS.

Please follow the steps below for each operating system:

Windows

Matplotlib:

  1. Open the command prompt by pressing Windows+R and then type cmd and hit enter.
  2. Type pip install matplotlib in the command prompt.
  3. Wait for the installation to complete.

Plotly:

  1. Open the command prompt by pressing Windows+R and then type cmd and hit enter.
  2. Type pip install plotly in the command prompt.
  3. Wait for the installation to complete.

Mayavi:

  1. Download and install the Anaconda distribution from https://www.anaconda.com/products/individual.
  2. Open the Anaconda prompt.
  3. Type conda install mayavi in the Anaconda prompt.
  4. Wait for the installation to complete.

 

Linux

Matplotlib:

  1. Open the terminal.
  2. Type sudo apt-get install python3-matplotlib and hit enter.
  3. Wait for the installation to complete.

Plotly:

  1. Open the terminal.
  2. Type pip install plotly and hit enter.
  3. Wait for the installation to complete.

Mayavi:

  1. Open the terminal.
  2. Type sudo apt-get install mayavi2 and hit enter.
  3. Wait for the installation to complete.

 

Mac OS

Matplotlib:

  1. Open the terminal.
  2. Type pip install matplotlib and hit enter.
  3. Wait for the installation to complete.

Plotly:

  1. Open the terminal.
  2. Type pip install plotly and hit enter.
  3. Wait for the installation to complete.

Mayavi:

  1. Download and install the Anaconda distribution from https://www.anaconda.com/products/individual.
  2. Open the Anaconda prompt.
  3. Type conda install mayavi in the Anaconda prompt.
  4. Wait for the installation to complete.

That’s it! You have now installed Matplotlib, Plotly, and Mayavi on your Windows, Linux, and Mac OS operating systems.

More Related Stuff