Ahoj,
zkusil bych strejdu Googla ;-)
http://www.google.cz/search?q=ImportError%3A+MemoryLoadLibrary+failed+loading+pygame\font.pyd&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:cs:official&client=firefox-a
http://www.mail-archive.com/pygame-users@seul.org/msg12699.html
Zkus, třeba to řešení z druhého odkazu pomůže.
T.
Dne 18.1.2011 7:50, Ctibor.Plasek napsal(a):
Tak ještě jednou - doufám, že to bude nové vlákno :-)
Dobrý den.
Mám takovýto problém s kompilací do exe (nikdy předtím jsem v Pythonu kompilaci
nedělal ):
C:\Python26\Krizovatka\dist\krizovatka.exe:175: RuntimeWarning: use font:
MemoryLoadLibrary failed loading pygame\font.pyd
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)
Traceback (most recent call last):
File "krizovatka.py", line 175, in
File "pygame\__init__.pyc", line 70, in __getattr__
NotImplementedError: font module not available
(ImportError: MemoryLoadLibrary failed loading pygame\font.pyd)
Zkoušel jsem to i přes pygame2exe, ale to mi vyhodilo :
Warning (from warnings module):
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 16
import sets
DeprecationWarning: the sets module is deprecated
Warning (from warnings module):
File "C:\Python26\lib\distutils\dist.py", line 266
warnings.warn(msg)
UserWarning: Unknown distribution option: 'dist_dir'
running py2exe
creating C:\Python26\Krizovatka\dist
*** searching for required modules ***
*** parsing results ***
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
writing byte-compilation script
'c:\docume~1\u40868\locals~1\temp\tmpnyydzs.py'
C:\Python26\pythonw.exe -OO c:\docume~1\u40868\locals~1\temp\tmpnyydzs.py
Traceback (most recent call last):
File "C:/Python26/Krizovatka/setuppygame.py", line 155, in
BuildExe().run() #Run generation
File "C:/Python26/Krizovatka/setuppygame.py", line 146, in run
dist_dir = self.dist_dir
File "C:\Python26\lib\distutils\core.py", line 169, in setup
raise SystemExit, "error: " + str(msg)
SystemExit: error: command 'C:\Python26\pythonw.exe' failed with exit status 1
Nepomohl byste mi to někdo zkompilovat a event.vysvětlit chyby? Potřebuji to
do
školy.
Děkuji Ctibor
___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python
___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python