Trying out the code on Ubuntu 16.04

If you are using Ubuntu 16.04 and don't want to install the Anaconda Python distribution for trying out the book's programs or the sample solutions, this post is for you.

Ubuntu 16.04 already comes with Python 3 installed, so we only need to install the following packages - matplotlib, matplotlib-venn, sympy and idle3.

Open a terminal and do the following:

$ sudo apt-get update
$ sudo apt-get install python3-matplotlib python3-matplotlib-venn python3-sympy idle3

It's worth noting that this will install sympy 0.7.6 and matplotlib 1.5.1 which are both sufficient for the book's programs.

Starting IDLE editor

You can now start the IDLE editor by typing in "idle3" from the terminal and then it's ready for your programs!

Contact

If you find any issues please email me at doingmathwithpython@gmail.com or post your query/tip to any of the following community forums:

social