cx冻结模块未正确安装

时间:2017-04-24 19:21:17

标签: pandas numpy operating-system cx-freeze

所以我有一个python文件导入另一个python文件来运行它。工作得很好。 然后我想将其转换为exe文件。经过几次尝试后,我让它运行并在其包中调用作为导入另一个python文件,只做一个简单的gui提示。然后我在os,pandas和numpy之类的导入之后来回做同样的提示。它不起作用:(根本没有任何提示,甚至没有提示。

<i>
    includefiles =["listofratios.txt"]# ["1991/","1992/","1993/","1994/","CSV/","CSV2/","wave/","histodistro/","histograms/","rangerover/","rangerover3/","limwindspeed1.txt","limwindspeed2.txt","limwindspeed3.txt","limwindspeed4.txt","limwindspeed5.txt","limwindspeed6.txt","limwindspeed7.txt","limwindspeed8.txt","limwindspeed9.txt","windspeed1.txt","windspeed2.txt","windspeed3.txt","windspeed4.txt","windspeed5.txt","windspeed6.txt","windspeed7.txt","windspeed8.txt","windspeed9.txt","listofratios.txt","punjabi.txt"]


includes = ["a12roguewavewindspeedrelater","a11roguewaveprobabilityperinstantsimulated","a10wavesimulation","a9finddistribution","a8rayleighchecker","a7correlationchecker","a6CSVnorthseareorganizer","a5CSVreorganizer","a4onlynorthseadata","a3onlywaterdata","a2dataCSVsorter","a1datadownloader","a13testrun"]#"random","Tkinter","ftplib","xray","xarray","_subprocess","easygui","math","pandas","os","numpy","fitter","matplotlib","a12roguewavewindspeedrelater","a11roguewaveprobabilityperinstantsimulated","a10wavesimulation","a9finddistribution","a8rayleighchecker","a7correlationchecker","a6CSVnorthseareorganizer","a5CSVreorganizer","a4onlynorthseadata","a3onlywaterdata","a2dataCSVsorter","a1datadownloader","a13testrun"]
excludes = []#"Tkinter"]
packages = []
base = None# "Win32GUI"
setup(
    name = 'waves.exe',
    version = '1.0',
    description = 'waves',
    author = 'name',
    options = {'build_exe': {'includes':includes,'excludes':excludes,'packages':packages,'include_files':includefiles}}, 
    executables = [Executable('a0projectinterface.py',base=base)]
)</i>

0 个答案:

没有答案