2016-06-07 54 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