2016-06-07 52 views
0

失踪我试图与安装py2exe文件两种方式:以下模块似乎与py2exe

from distutils.core import setup 
import py2exe 

setup( windows=[{"script":"fisherexchart.py"}]) 

和其他方式:

from distutils.core import setup 
import py2exe 

setup(=['fisherexchart.py']) 

而这两种方式似乎是给我丢失文件的相同错误。我使用py2exe,从来没有遇到过这个,但最近更新到Windows 10。不知道出了什么问题!

enter image description here

任何帮助,将不胜感激的人。

感谢

回答

0

这似乎是一个更容易使用pyinstaller:

pyinstaller.exe nameofscript.py