Py2exe - win32api.pyc ImportError DLL load failed

前端 未结 4 1519
暗喜
暗喜 2020-12-05 12:05

I am trying to use py2exe to distribute a python application I have written. Everything seems to go OK, but when I run it on another machine it fails with the following err

4条回答
  •  无人及你
    2020-12-05 13:07

    Just as an added comment. When rebuilding your program with Py2exe be sure to delete the old "dist" directory. I was sitting for over 3 hours not understanding why my app was working on my dev envirnoment and not in production. deleted dist and rebuild with py2exe and it worked.

提交回复
热议问题