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

[pygame] The font module



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 = 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.