Doing Math with Python

Software Installation on Mac OS X Yosemite

Download the Anaconda GUI installer for Python 3. Start the installation by double clicking on the .pkg file:

mac1

Click Next on the next two screens and accept the License Agreement:

mac2

You can choose to install the distribution either for your user only or for all users using this computer. We will go with the former:

mac5

The error message is a bug in the installer software. Just click it, and it will disappear. Click Continue to proceed.

mac7

Click "Install" to start the installation.

mac7

Click on "Close" to complete the installation.

Open the Terminal app and carry out the following steps.

Installing sympy

The installation may come with sympy already installed, but we want to make sure that we have at least 0.7.6, so we will install it using the command conda install sympy=0.7.6. This should update (if already installed) or install sympy to the 0.7.6 version.

Installing matplotlib-venn

To install matplotlib-venn, use the command pip install matplotlib-venn.

Your computer is now setup to run all the programs.

Starting Python shell

Open a Terminal and type idle3 to start the IDLE shell or python to start the Python 3 default shell.

mac10