'modules appear to be missing' - py2exe

后端 未结 3 2035
一整个雨季
一整个雨季 2021-01-25 16:52

I am using py2exe-0.6.9.win32-py2.7.exe and converted a .py file to .exe. The problem is that it won\'t open as it says something like \'unable to import Frame\' when I try to o

3条回答
  •  无人共我
    2021-01-25 17:46

    you need to place '__init__.py' to every module your using in your project. since init.py tell to your py2exe convertor that there is a python module here.

    Since i have faced the same issue Few days back. with zope.interface and mp_tools i placed empty __init__.py worked fine for me

提交回复
热议问题