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) 2000-2004 Convergence (integrated media) GmbH > ------------------------------------------------------------ > > (*) DirectFB/Core: Single Application Core. (2008-08-18 12:36) > (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed > --> No such file or directory > (!) DirectFB/FBDev: Error opening framebuffer device! > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment > variable. > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > there is no soundcard > No protocol specified > No protocol specified > > =======================| DirectFB 1.0.1 |======================= > (c) 2001-2007 The DirectFB Organization (directfb.org) > (c) 2000-2004 Convergence (integrated media) GmbH > ------------------------------------------------------------ > > (*) DirectFB/Core: Single Application Core. (2008-08-18 12:36) > (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed > --> No such file or directory > (!) DirectFB/FBDev: Error opening framebuffer device! > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment > variable. > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > Traceback (most recent call last): > File "fonty.py", line 100, in <module> > if __name__ == '__main__': main() > File "fonty.py", line 30, in main > screen = pygame.display.set_mode(resolution) > pygame.error: DirectFBCreate: Initialization error! > > > 2011/4/27 stas zytkiewicz <stas.zytkiew...@gmail.com> > 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 python 2.7, which > is the version you seems to be using, isn't fully compatible with all > python libs. (at this moment) > I've uninstalled python2.7 so that everything is using python2.6 and then > pygame runs properly. > > Greetings, > Stas > > > > >> there is no soundcard > >> fonty.py:42: RuntimeWarning: use font: No module named font > >> (ImportError: No module named font) > >> font = pygame.font.Font(None, 80) > >> Traceback (most recent call last): > >> File "fonty.py", line 100, in <module> > >> if __name__ == '__main__': main() > >> File "fonty.py", line 42, in main > >> font = pygame.font.Font(None, 80) > >> File "/usr/local/lib/python2.7/site-packages/pygame/__init__.py", line > >> 70, in __getattr__ > >> raise NotImplementedError(MissingPygameModule) > >> NotImplementedError: font module not available > >> (ImportError: No module named font) > >> > > > > I got this traceback trying to run the fonty.py file in the examples > > repository of pygame. I have installed pygame via the python-game package > > and also via the sources but still no font module.... > > > > Thanks for reading me. > > > > > > -- > Free-source educational programs for schools > http://www.schoolsplay.org and http://wiki.laptop.org/go/Schoolsplay > http://gvr.sf.net and http://wiki.laptop.org/go/Guido_van_Robot >