Re: py2exe: LoadLibrary(pythondll) failed



zxo102 schrieb:
Hi there,
I py2exe my test.py as test.exe with a lot of dll and pyc in that
directory. If I move the test.exe into another directory and run it
from there, it gives me an error " LoadLibrary(pythondll) failed...
python24.dll". How can I set it up correctly for this test.exe to
run? Thanks.

Ouyang



The test.exe created by py2exe relies on everything else in the dist directory,
so you must copy these files as well.

Thomas

.



Relevant Pages

  • Re: py2exe: LoadLibrary(pythondll) failed
    ... I py2exe my test.py as test.exe with a lot of dll and pyc in that ... The test.exe created by py2exe relies on everything else in the dist directory, ...
    (comp.lang.python)
  • Re: py2exe, PyQT, QtWebKit and jpeg problem
    ... it does work in the .py but it doesn't in .exe made with py2exe ... dll = QPluginLoader ... res = dll.load ... Maybe py2exe builds executables that can't load DLLs in this way. ...
    (comp.lang.python)
  • py to exe: suggestions?
    ... I need to convert a python file to an '.exe'. ... I've tried py2exe, and I ... don't like it because you have to include that huge dll and libraries. ... Prev by Date: ...
    (comp.lang.python)