Schriftmodul kein verfügbarer Fehler in PygamePython

Python-Programme
Anonymous
 Schriftmodul kein verfügbarer Fehler in Pygame

Post by Anonymous »

Python 2.7.2 und Pygame 1.9.2Pre unter OS x. Ich vermute, dies ist ein ziemlich generisches Problem mit Pygame ... aber ich konnte keine Lösungen finden. < /P>

Code: Select all

import pygame
pygame.init()

pygame.font.init()
< /code>
gibt: < /p>
Desktop/font.py:4: RuntimeWarning: use font: dlopen(/Library/Python/2.7/site-packages/pygame/font.so, 2): Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found
(ImportError: dlopen(/Library/Python/2.7/site-packages/pygame/font.so, 2): Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found)
pygame.font.init()
Traceback (most recent call last):
File "Desktop/font.py", line 4, in 
pygame.font.init()
File "/Library/Python/2.7/site-packages/pygame/__init__.py", line 70, in __getattr__
raise NotImplementedError(MissingPygameModule)
NotImplementedError: font module not available
(ImportError: dlopen(/Library/Python/2.7/site-packages/pygame/font.so, 2): Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf
Reason: image not found)
Was genau ist hier falsch und wie kann ich es auflösen?>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post