This thread is not only about pygame but also about livewires. I followed the first answer on this link but when i write this command : sudo pip install pygame
, I get an error saying:
Could not find any downloads that satisfy the requirement pygame.
Some externally hosted files were ignored (use --allow-external pygame to allow).
Cleaning up...
No distributions at all found for pygame
Storing debug log for failure in /home/cooldudeabhi/.pip/pip.log
How to fix them. Also, I am using python 3.4. Please help me to install both modules: Pygame as well as livewires.
Best Answer
Open a terminal and type the following commands. It will install
pygame
on your system:Regarding
livewires
, it seems that this package is for python2.x only as I got the following error when runningsudo pip3 install livewires
:Such errors are quite frequent when you want to run python2 code with a python3 interpreter.
Update: it seems possible to run 2to3 on the above files and successfully install
livewires
.cd LiveWires-2.1
2to3 -w livewires/*
sudo python3 setup.py install