If you pick Python 3, that book isn't helpful to you anymore. Don't ask us for help updating a book, unless you get the publisher to pay us.
If you stick with the book, use Python 2. Look for help using the official documentation to make sure you have the required components installed.