I am developing a PySide application (Qt for Python) and I would like to freeze it using cx_Freeze.
When I run python setup.py build
using my setup file below, it creates the build directory without errors, but then when I run the .exe file generated, I get the error message shown below:
from cx_Freeze import setup, Executable
target = Executable(
script="main_window.py",
base = "Win32GUI",
icon="images\\icon.ico"
)
setup(name = "DemiurgoXMLgen" ,
version = "0.1" ,
description = "" ,
options={'build_exe': {'include_files': ['images\\']}},
executables = [target])
I think it has something to do with the Paramiko package I am using in my application. Has anyone encountered and solved this problem?