CX\U冻结:Python.exe没有响应

CX\U冻结:Python.exe没有响应,python,cx-freeze,Python,Cx Freeze,我正试图将我的文本编辑器转换为exe以出售它,但Windows说,当我尝试在cmd中转换它时,python.exe没有响应 我的文件名是arshi.py 下面是我的setup.py: import sys from cx_Freeze import setup, Executable base = None if (sys.platform == "win32"): base = "Win32GUI" exe = Executable( script = "arshi

我正试图将我的文本编辑器转换为exe以出售它,但Windows说,当我尝试在cmd中转换它时,python.exe没有响应

我的文件名是arshi.py

下面是我的setup.py:

import sys
from cx_Freeze import setup, Executable

base = None
if (sys.platform == "win32"):
    base = "Win32GUI"

exe = Executable(
        script = "arshi.py",
        icon = "icon.PNG",
        targetName = "Arshi.exe",
        base = base
        )

setup(
    name = "Arshi Editor",
    version = "0.1",
    description = "A lightweight text editor for Python",
    author = "Henry Zhu",
    options = {'build_exe': {"packages": ["pygments"]}},
    executables = [exe]
)

cx\U freeze不接受.png文件,而只接受.ico文件。将.png文件转换为.ico文件对我来说非常有用

如果让
arshi.py
什么都不做会怎么样?