0

How can I install pygame in python 2.7.6 on Ubuntu 14? I've used sudo apt-get install python-pygame, but it does not work and gives me the following message: unable to locate package python-pygame. What shall I do now?

younes
  • 339

1 Answers1

0

the best way to install python modules in python is do

sudo apt-get install python-pip

and then do

sudo pip install name_of_python_module

for you

sudo pip install pygame

and if you are unsure about name of any of the modules you can do

pip search name_of_python_module

and it will give you the search results and take the name and install by above method

younes
  • 339
bolzano
  • 1,570