[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] The font module
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] The font module
- From: stas zytkiewicz <stas.zytkiewicz@xxxxxxxxx>
- Date: Wed, 27 Apr 2011 11:09:46 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 27 Apr 2011 05:09:57 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=GSs6K3wOwSGu3ZBdg9AjwT5pBQ6PS3cPVby6D31DLQ8=; b=xYt2VSOvHLICz9RlZEtGMfkreflhUayve0QhFHG1vXMqZEhj2vlHsA3esHL10Sr/6U hYJpKDdo0nF0v4Rq2HZB02viLLm7RbecXCZ+etkG7DnjPHMFQTduN9Y4MKa2A8ZIgbEZ 1TEfwBUDuWT2Vh319c329oINzV2RsmlfDIUZw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=YTkK4piVPCb9bCevZOj783T7PgGa04ueCLkgrM7o7E+VTDqcKB78wvSdW6Ibdw5qL6 GoJv+6DhkKMHrm7gJabJ4ksGXAQfMxiSDh5FPBW5ypAHVvOvkEtMAQUVtakj+DDKfMl7 9DhJWARl4TFB+z7at3swDxdLEvacyl/Kv0Zyo=
- In-reply-to: <BANLkTimkpKXuZXVVhRL4A4WnN0NEtw3_gA@xxxxxxxxxxxxxx>
- References: <BANLkTimkpKXuZXVVhRL4A4WnN0NEtw3_gA@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Wed, Apr 27, 2011 at 10:42 AM, Nathan BIAGINI <nathan.open@xxxxxxxxx> 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