How to Install PyLab on Python

Written by mike wallace
  • Share
  • Tweet
  • Share
  • Email

PyLab is a module that belongs to the Python mathematics library Matplotlib. PyLab combines the numerical module numpy with the graphical plotting module pyplot. PyLab was designed with the interactive Python interpreter in mind, and therefore many of its functions are short and require minimal typing. This makes it a very efficient and convenient mathematical tool. If you want to install PyLab, you must also install Matplotlib. This process is fairly simple and follows the standard installation procedure of any application.

Skill level:
Moderately Easy



  1. 1

    Navigate to the Matplotlib download website (see Resources for link).

  2. 2

    Download the file named "matplotlib-x.x.x.win32-py2.7.exe," where x.x.x is the current version of Matplotlib.

  3. 3

    Save the file to your Desktop.

  4. 4

    Double-click the file to begin the installation process. Follow the brief onscreen instructions by pressing the button labelled "Next." Installation will take less than a minute on most machines.

    Mac OS

  1. 1

    Download the file named "," where x.x.x is the current version of Matplotlib.

  2. 2

    Double-click the "DMG" file to open it. A new finder window will appear.

  3. 3

    Locate the Matplotlib icon within the finder window.

  4. 4

    Drag the Matplotlib icon into your Applications directory. Matplotlib will now be installed.

    Ubuntu Linux

  1. 1

    Open up a bash shell.

  2. 2

    Type in the following command to download and install Matplotlib:

    sudo apt-get install python-matplotlib

  3. 3

    Type in the administrators password to proceed with the install.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.