[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] The font module
- To: pygame-users@xxxxxxxx
- Subject: [pygame] The font module
- From: Nathan BIAGINI <nathan.open@xxxxxxxxx>
- Date: Wed, 27 Apr 2011 10:42:55 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 27 Apr 2011 04:43:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=MW7PAQWCQMHNjGokUnc4fqs5oTTrRPVwYQo0Ubh2PZ0=; b=m8+km66XfnVSk1BOOmaVhkOQWfcs/jb+b9P1Icoy1ddEsvbqqrzSFacALI3NvLwqIe UpcfuG7u8o/r3wf26Ke3SPX0f18Tfrheb1hRllhFnLFJtbZfICf1LF661stm0j5Louni zNSD2oD9F8vohWVD/vx5+GOQaNep5JkHtnKxs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ivoy9rxcMKb0lFOWLydX+33FETpAK+wNK4Vwmzpzl7Q/NQLxdDNy2ckFPC+zexuhkz ohB7whqzeUOWd3BEa4Vfq6DkcM2hTKdtNRHhwx5b8/Qj6AnirldmW62HPk7jE9Kk+BoB Sw9/QvflEkKkT/nBJEBw40YHrkZaciZGRJfNM=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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.