I am working on an assignment for school, and didn't realize that I needed to install the pygame/livewires package to use the program I am writing, because I have been using a school laptop while in class and haven't used my personal laptop. It is a really simple program, but I still can't run it because the pygame setup I downloaded isn't working. When I type "import pygame" into the shell it works, but when I try something like "from livewires import games" it says that the module livewires cannot be found. I am using Python3.1.1 but I also have Python3.4.3 installed. PLEASE HELP and thank you in advance.
For python3 this works for me:

First you need to install pip module (it will help to install livewires in last step)

sudo apt install python3-pip

Install pygame module which is required for livewires

sudo apt install python3-pygame

And at last install needed module

pip3 install livewires

But most likely livewires will not work well, as it isn't working for me. So you can use updated version - superwires. Installation is almost the same:

pip3 install superwires
And just use superwires instead of livewires in your instructions.
Note, that this didn't work for me:
sudo apt install python3-livewires
with error: E: Unable to locate package python3-livewires
Installing livewires for python