[pygame] The font module

2011-04-27 Thread Nathan BIAGINI
Hi everyone, i currently using a Debian squeeze and i would like to run some application i have written before but it seems that the font module is not found. there is no soundcard fonty.py:42: RuntimeWarning: use font: No module named font (ImportError: No module named font) font =

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
On Wed, Apr 27, 2011 at 10:42 AM, Nathan BIAGINI nathan.o...@gmail.com wrote: Hi everyone, i currently using a Debian squeeze and i would like to run some application i have written before but it seems that the font module is not found. Hi, I'm running squeeze also and it's my experience that

Re: [pygame] The font module

2011-04-27 Thread Nathan BIAGINI
I have installed Python 2.6 and when i try to run an pygame example application with, i got : No protocol specified No protocol specified ===| DirectFB 1.0.1 |=== (c) 2001-2007 The DirectFB Organization (directfb.org) (c)

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
On Wed, Apr 27, 2011 at 11:37 AM, Nathan BIAGINI nathan.o...@gmail.com wrote: I have installed Python 2.6 and when i try to run an pygame example Do you really have squeeze running ?? I ask this as python 2.6 is a dependency for python-pygame in squeeze so when you installed python-pygame you

Re: [pygame] The font module

2011-04-27 Thread Nathan BIAGINI
It returns 6.0.1, so squeeze, the current stable debian version. The dpkg -l python-pygame returns : | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
Here's my session in Debian squeeze: stas@EXT-Workstation:~$ python Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. import pygame.font dir(pygame.font) ['Font', 'FontType', 'SysFont', '_PYGAME_C_API',

Re: [pygame] The font module

2011-04-27 Thread Nathan BIAGINI
Hum... Here is mine : Python 2.6 (r26:66714, Apr 27 2011, 11:25:42) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. import pygame import pygame.font Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named font

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
On Wed, Apr 27, 2011 at 1:00 PM, Nathan BIAGINI nathan.o...@gmail.com wrote: Hum... Here is mine : One thing you could try is to reinstall python-pygame. sudo apt-get remove --purge python-pygame And then: sudo apt-get install python-pygame If that doesn't fix it I'm run out of options :-( If

Re: [pygame] The font module

2011-04-27 Thread Nathan BIAGINI
Ok.. so it still does not work. I think i ll try to report a bug on the debian bugs support about python-pygame. I also try to install from sources. And before to begin the installation, it reports the found dependencies and FONT is not found. I will also try to install the SDL font... anyway keep

Re: [pygame] The font module

2011-04-27 Thread René Dudfield
Hi, Do you have libsdl-ttf2.0-dev installed? On Wed, Apr 27, 2011 at 4:32 PM, Nathan BIAGINI nathan.o...@gmail.comwrote: Ok.. so it still does not work. I think i ll try to report a bug on the debian bugs support about python-pygame. I also try to install from sources. And before to begin

Re: [pygame] The font module

2011-04-27 Thread Nathan BIAGINI
Ok guy i think i have found the key to solve this problem! As Pygame is SDL binding i thought to install SDL_ttf (may be it s missing) and it was apparently the case since now i got : Traceback (most recent call last): File pyuidemo.py, line 31, in module main() File pyuidemo.py, line

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
On Wed, Apr 27, 2011 at 5:39 PM, Nathan BIAGINI nathan.o...@gmail.com wrote: Ok guy i think i have found the key to solve this problem! As Pygame is SDL binding i thought to install SDL_ttf (may be it s missing) and it was apparently the case since now i got Then your debian pygame package