View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

Manuals and Guides and Programs

We're going to be using the Enthought distribution of Python in this class for Windows computers. If you are using a Macintosh, you'll (a) just use the lab for your assignments or (b) see below for Macintosh Support.




Macintosh Support


ActivePython gets installed in a somewhat odd place. To run it, from the Terminal, type /usr/local/bin/python

TerminalScreenSnapz001.jpg


The ScipySuperpack includes four different mpkg's. Double click and install each of them in order: NumPy, Matplotlib, SciPy, and PyMC.

Known-i-packages.jpg
i-InstallerScreenSnapz002.jpg

Then start up Python (from /usr/local/bin/python), and type from pylab import * and hit return. Ignore the errors you get. Then type plot([1,2,3,4]) and hit return. Again, ignore the errors. Then type show(). Poof! There's your plot! (Note that you'll have to close the figure window to get Python to respond again.) Control-D will end your Python session.

I found that restarting the computer led to all the errors going away.

TerminalScreenSnapz002.jpg

Programs