I used Pygame2exe from the Pygame website and that got rid of the problem with the .dlls
but there's still an error that remains.
The only font I'm using is the standard pygame font (freesansbold.ttf
) and I've included a copy of it in my game directory.
Also,
I'm using the Font
class and not the SysFonts class which I thought would fix my problem.
Any thoughts?
C:\Python26\apple_orchard\dist\appleorchard.exe:27: RuntimeWarning: use font: MemoryLoadLibrary failed loading pygame\font.pyd
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)
Traceback (most recent call last):
File "appleorchard.py", line 165, in <module>
File "appleorchard.py", line 27, in __init__
File "pygame\__init__.pyo", line 70, in __getattr__
NotImplementedError: font module not available
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)