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

[pygame] Problem with py2exe and font.pyd



Hi,

I'm trying to use py2exe and get the following error when wxwcuting
the exe file.

C:\Users\john\workspace\FlickrBackupTool\src\FlickrTagTool\FlickrTagTool.exe\lib\GameGUI.py:40:
RuntimeWarning: use font: MemoryLoadLibrary failed loading
pygame\font.pyd
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)
Traceback (most recent call last):
  File "FlickrTagTool.py", line 758, in <module>
  File "FlickrTagTool.py", line 754, in main
  File "FlickrTagTool.py", line 737, in main_loop
  File "FlickrTagTool.py", line 221, in __init__
  File "FlickrTagTool.py", line 327, in setup_gui
  File "lib\GameGUI.pyo", line 40, in load_font
  File "pygame\__init__.pyo", line 70, in __getattr__
NotImplementedError: font module not available
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)

But when I looked in the location where other pygame/*.pyd files is
located it's there.

I'm using Windows7, Python 2.6 and Pygame 1.9.1

Please advice!

Best Regards
/John Eriksson