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!
If you find any issues please email me at firstname.lastname@example.org or post your query/tip to any of the following community forums:
Find this post useful? Please share.