Personal tools
You are here: Home Courses Math Review for Biologists, 2012 edition. The Enthought Python Distribition

The Enthought Python Distribition

Enthought makes an extremely easy-to-install distribution of Python and many of its scientific packages, including SciPy and everything we shall need, plus 3D visualization and tons of cool stuff. This distribution is made freely available to academics but it is otherwise not free.

The official distribution for Python for the course is Enthought 7.3.2 . We cannot support individual installs of packages, we need to get going with this, and the Enthought distribution contains everything we need in a point-and-click format.

Please download the appropriate installer for your laptop  from www.enthought.com SLASH repo SLASH DOT epd_academic_installers

  • If you have a PC laptop you shall want to download and run epd-7.3-2-win-x86.msi ,
  • If you have a MAC you want epd-7.3-2-macosx-i386.dmg
  • If you are running Linux then there are RedHat installers for RH3 and RH5.

Feel free to download and install also the 64-bit versions if you know you may want them, they can be installed concurrently with the standard 32-bit versions. This is particularly important for Macs as the 64-bit version does not have everything the 32-bit does.

 

After you have installed the EPD

to check if everything was installed properly:

You should have an application called "PyLab", or if you installed both 64 and 32 bits, both "PyLab" and "PyLab (64 bit)" on a mac. 

Start PyLab. A command console will open. The console will spit out some amount of text, starting with something looking roughtly like

Enthought Python Distribution -- www.enthought.com

Python 2.7.3 |EPD 7.3-1 (32-bit)| (default, Apr 12 2012, 11:28:34) 
Type "copyright", "credits" or "license" for more information.

and ending with

In [1]: 

Type into that prompt the command imshow(rand(100,100)) followed by return; you should get a response

In [1]: imshow(rand(100,100))
Out[1]: <matplotlib.image.AxesImage at 0x9d8d210

and a separate window with a colorful plot of random dots should open. The very first time that you do this, it's going to take a while because the python system will essentially compile itself and all of its graphic libraries.

 

Document Actions