This is the third time pygame/livewires has led me to this website, and let it be the last! After installing \'Python 3.1.1\' for the book, \'Python Programming for the Abso
You should set your PATH and sys.path(the path modules are imported from) pointing to the same version of Python. Currently Python 3.1 executable is in your path, but it is using the modules of Python 3.4.
And one way to have isolated versions of python on your system is using virtual-env: https://virtualenv.pypa.io/en/latest/