<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ahoj,<br>
<br>
zkusil bych strejdu Googla ;-)<br>
<a class="moz-txt-link-freetext" href="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.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</a><br>
<br>
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/pygame-users@seul.org/msg12699.html">http://www.mail-archive.com/pygame-users@seul.org/msg12699.html</a><br>
<br>
Zkus, třeba to řešení z druhého odkazu pomůže.<br>
<br>
T.<br>
<br>
<br>
Dne 18.1.2011 7:50, Ctibor.Plasek napsal(a):
<blockquote
cite="mid:15399.326.2301-12033-181376542-1295333422@seznam.cz"
type="cite">
<pre wrap="">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 <module>
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 <module>
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
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python@py.cz">Python@py.cz</a>
<a class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a></pre>
</blockquote>
<br>
</body>
</html>