我正在用Cx_freeze编译我的python脚本,它正在我的机器本地直接寻找子进程:
下面是我用来编译的代码:
from cx_Freeze import setup, Executable
import subprocess
exe=Executable(
script='makeCSV.py',
base='Win32Gui',
)
includefiles=[]
includes=[]
excludes=[]
packages=['subprocess']
setup(
version = '0.0',
description = 'No Description',
author = 'Name',
name = 'MakeCSV',
options = {'build_exe':
{'excludes':excludes,'packages':packages,'include_files':includefiles}},
executables = [exe]
)