If you wish to do the programming exercises on your own computer you will
need to install four software packages: the main Python language, and the
packages numpy
, matplotlib
, and
visual
(also called "vpython" in some places), all of which
are available for free as downloads from the web. The simplest way to
install the packages is as follows.
visual
package. Then
click on the "download" link for your operating system, Windows or
Macintosh, which will take you to the download page. (The packages are
also available for users of the Linux operating system. The installation
procedure is more complicated for Linux, but if you are a Linux user you
probably already know what you're doing.)
visual
package (also called "vpython"). (If you are a Windows
user this will automatically install the numpy
package for you
as well. If you use a Mac, see step 5 below.)
matplotlib
package. To do this you should go to this
page and click on the link for the latest version of
matplotlib
, which at the time of writing is version 1.1.0.
You will be presented with a list of packages for different computers.
Select and install the one that corresponds to your computer and the
version of Python that you installed. For instance, you would click on
matplotlib-1.1.0.win32-py2.7.exe
for a Windows computer with
Python version 2.7 installed.
numpy
. (If you use Windows, numpy
will
already have been installed for you when you installed
visual
.) Download the latest version of numpy
from here
and install.