'modules appear to be missing' - py2exe

后端 未结 3 2062
一整个雨季
一整个雨季 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:28

    What I did is I updated the 'setup.py' file to contain the paths to the missing modules, using

    import sys
    sys.path.insert(0, )
    

    This way I do no need to polute the ...\site_packages\ folder.

提交回复
热议问题