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.
Navigate to the Matplotlib download website (see Resources for link).
Download the file named "matplotlib-x.x.x.win32-py2.7.exe," where x.x.x is the current version of Matplotlib.
Save the file to your Desktop.
Double-click the file to begin the installation process. Follow the brief onscreen instructions by pressing the button labeled "Next." Installation will take less than a minute on most machines.
Download the file named "matplotlib-x.x.x-python.org-py2.6-macosx10.3.dmg," where x.x.x is the current version of Matplotlib.
Double-click the "DMG" file to open it. A new finder window will appear.
Locate the Matplotlib icon within the finder window.
Drag the Matplotlib icon into your Applications directory. Matplotlib will now be installed.
Open up a bash shell.
Type in the following command to download and install Matplotlib:
sudo apt-get install python-matplotlib
Type in the administrators password to proceed with the install.