Uso ubuntu 10.10, ho installate sia le versioni di python 2.6 che python 3.1
Il problema è che secondo se digito:
codice:
sudo apt-get install python-pygame
Mi dice che ho già installato il modulo, ma se provo a importare il modulo su python 3.1 mi da errore, probabilmente perchè ho il modulo di pygame installato per la versione 2.6, ho anche provato a fare:
codice:
sudo apt-get install python3.1-pygame
Ma mi da errore:
codice:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.1-pygame
E: Couldn't find any package by regex 'python3.1-pygame'
Come fare per installarlo?