py2exe: LoadLibrary(pythondll) failed

zxo102 zxo102 at gmail.com
Sat Mar 3 19:25:53 EST 2007


On 3月4日, 上午6时50分, Thomas Heller <thel... at ctypes.org> wrote:
> 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

Thanks. Let me try it.




More information about the Python-list mailing list