Try looking at:
http://programarcadegames.com/index.php?chapter=foreword&lang=en

Scroll down to the section on installing for Linux based computers. This
will allow you to install from the source code. See if that gets you
working.

Paul Vincent Craven

On Fri, Jan 23, 2015 at 6:30 AM, Lucas Wagner <lowag...@gmail.com> wrote:

> Try "sudo apt-get install python-pygame" then retry.
>
> You can always look for python modules using e.g. "apt-cache search
> pygame" and it will show you if there's something to be installed via the
> package manager.
>
> On Fri, Jan 23, 2015 at 1:27 PM, spir <denis.s...@gmail.com> wrote:
>
>> Hello,
>>
>> I am new to the list. My present project is to try several methods of
>> game map generation (perlin noise, cellular automatons, etc...) and for now
>> barely use pygame as "visualiser" (just because I could not find a nicer
>> graphics lib, neither for python now for any other lang I know).
>>
>> I have just installed pygame on a computer running Ubuntu (actually
>> Lubuntu, but this should not change anything, I guess), using the std
>> package manager. Now,
>>         import pygame
>> fails with the usual
>>         ImportError: No module named 'pygame'
>> I tried to (re)install using apt-get directly, but the command does not
>> find a package 'pygame' (despite the fact that the 'Universe' repository is
>> well activated).
>>
>> What am I doing wrong? I do not know what else to try.
>>
>> I take the opportunity to ask about python 2 vs python 3 when using
>> pygame (I tried both: no difference on the error).
>>
>> Thank you,
>> denis
>>
>
>
>
> --
> """
>   lucas o. wagner, PhD
>   theoretical physics/chemistry
>   lowagner.github.io
>   l.o.wag...@vu.nl
> """
>

Reply via email to