[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Updated Compilation Instructions for Ubuntu



last tests was with pyhton 2.7.6

on an other pysical machine mint17, and python3.4.0, CPUÂÂ Q9300Â @ 2.50GHz
pygame 1.9.1 default installed by synaptic, and work perfectly with python2.7.6

$python3
>>> import pygame
ImportError: No module named 'pygame'
never tried, but seems python3 doesn't support default packaged pygame1.9.1.

pygame for python3 installed as wiki + libfreetype6-dev
report "Erreur lors de la concatÃnation de /usr/share/doc-base/kino-en avec /usr/share/doc-base/kino-frÂ: le format html est dÃjà dÃfini."
which seems a minor alert, kino works.
$python3
>>> import pygame
>>> pygame.version.ver
'1.9.2a0'

i don't (never) use python3 with pygame.
but seems to report errors with games tested when :

pygame.image.load(imagename)
pygame.error: File is not a Windows BMP file

ex: http://www.pygame.org/project-Pong-2878-.html
i don't know if these games tested really works with python3 (maybe only for windows?).

do you have an application link where python3+pygame1.9.1 is working?


2015-03-13 17:56 GMT+01:00 William Manire <williamkmanire@xxxxxxxxx>:
Awesome! Thanks for verifying.

On Fri, Mar 13, 2015 at 5:01 AM, Gino Ingras <ginoingras@xxxxxxxxx> wrote:
> had tested intall on pysical machine mint17, i3-2100 CPU @ 3.10GHz
>
> you've forgot :
> #apt-get install libfreetype6-dev
> install work great...
>
>>>> import pygame
>>>> pygame.version.ver
> '1.9.2a0'
> and it seems to work like a charm.
> pygame doesn't appear in package manager (should be a .deb package?).
>
> #apt-get install solarwolf, which install pygame 1.9.1, ok. but:
>>>> import pygame
>>>> pygame.version.ver
> '1.9.1release'
>
> after uninstall pygame by synaptic:
>>>> import pygame
>>>> pygame.version.ver
> '1.9.2a0'
> and it seems to work like a charm again.
>
> you should add instructions how to select specific version, in case of.
>
> Thanks,
> GinoIngras
>
> 2015-03-12 23:46 GMT+01:00 William Manire <williamkmanire@xxxxxxxxx>:
>>
>> Hello,
>>
>> After some experimentation I was able to install pygame into a virtual
>> environment in Linux Minth 17.1, which is very similar to Ubuntu in
>> most respects.
>>
>> I took the liberty to update the wiki entry for compilation with new
>> instructions for setting this up. I also updated the dependencies to
>> use libav-tools since ffmpeg is no longer available in the package
>> manager.
>>
>> http://www.pygame.org/wiki/CompileUbuntu
>>
>> If anyone has the time to verify the instructions are accurate and
>> actually work for someone other than myself that would be wonderful!
>>
>> Thanks,
>>
>> wkmanire
>
>