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

[pygame] import pygame.font failing



Hi,

Not sure where the heck to send this but I'm having no luck through my usual channels.

I have sudo yum installed pygame... my code is as follows.

5. import pygame
6. import pygame.font
7.
8. pygame.init( )

Unfortunately I get...

$ python3 ch1.py
Traceback (most recent call last):
  File "ch1.py", line 6, in <module>
    import pygame.font
ImportError: No module named font


Would someone like to help with this problem?

Thanks
Kai