Hi Denis,
I recently installed Ubuntu and pygame. The insturctions I followed are
here :-
http://www.pygame.org/wiki/CompileUbuntu?parent=Compilation
I think you need to make sure python and pygame are 32bit. I had
problems with 64bit versions.
pygame seems to work fine with either python 2 or 3. At least it does
for me :-)
Cheers,
Ted.
On 24/01/2015 1:27 a.m., spir 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
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com