[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] problems getting python 3.1 to work with pygame 1.9
Python programming for the absolute beginner, third edition ( http://www.amazon.com/Python-Programming-Absolute-Beginner-3rd/dp/1435455002 ). One of the O'Reilly books also uses Python 3.1 with Pygame 1.9 ( http://www.headfirstlabs.com/books/hfprog/ ) but their support page recommends installing pygame libraries prior to pygame ( http://programming.itcarlow.ie/pygame.html ), I'm not sure if that applies since I'm using apt-get instead of building from source. The bug listing for the Ubuntu pygame 1.9 package suggests it's "mostly working" with 3.1 which implies that I should be getting 3.1 to at least find pygame ( https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/433304 ).
If this doesn't work I can always set him up with python 2.6 and an older book but I wanted to see if I was missing something obvious.
Thanks,
Brian Pierce
On Apr 17, 2010, at 5:07 PM, Luke Paireepinart wrote:
> Pygame 1.9 was written for 2.x. python 3.x is not backwards
> compatible. Pygame2 might be ported (pgreloaded) though, not sure.
> it's probably not in the repositories.
>
> Which tutorial uses python 3 and pygame?
>
> On 4/17/10, Pierces <pierces@xxxxxxxxxxxx> wrote:
>> I'm trying to set up an Ubuntu 10.04 machine so my son can follow a book on
>> learning Python programming with pygame 1.9 and python 3.1. I have all
>> these installed via apt-get without problems. However, python 3.1 can't
>> find the pygame module. Interestingly, python 2.6 can find and import
>> pygame without a problem.
>>
>> Is there some step that I'm overlooking that allows python 3.1 to recognize
>> the installed pygame 1.9?
>>
>> Thanks,
>> bpierce
>>
>>
>>
>>
>
> --
> Sent from my mobile device
>