hi, you'll need to compile pygame from source for python 3 on ubuntu. Since it is not packaged by ubuntu for python 3 yet (like a lot of missing python 3 modules on ubuntu).
sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev svn co svn://seul.org/svn/pygame/trunk pygame cd pygame python3.1 setup.py build sudo python3.1 setup.py install On Sun, Jan 16, 2011 at 9:39 AM, Sam Bull <sam.hack...@sent.com> wrote: > > Hi David, > > I had not realised that Pygame was working on Python 3. Oddly, it still > does not seem to be working on my computer: > File "/home/s/Games/Python/Tools/sgc/sgc/example/test.py", line 12, in > <module> > import pygame > ImportError: No module named pygame > I'm running Ubuntu, and have installed python-pygame from the > repositories, it says Pygame is 1.9.1, but does not seem to run with > python3. > It works without a problem on Python 2 though... > > On Sat, 2011-01-15 at 08:52 -0500, David Burton wrote: > > [private / off-list to Sam Bull] > > > > I agree, Sam! > > > > There are several options out there. I have three of them running on > > Python 3, but I'm not too happy with any of them: > > ...