Cx-Freeze : Showwarning AttributeError: 'NoneType' object has no attribute 'write'
问题 Scripts works fine on source file with using Anaconda alongside with Python 3.4. When i cxfreeze (v 4.3.4) it with following setup file: from cx_Freeze import setup, Executable setup(executables=[Executable("main.py", base="Win32GUI")], version='0.2') I got following error on the server: DBOps.py", line 54, in executemany "C:\Users\user\Anaconda3\lib\site-packages\MySQLdb\cursors.py", line 286, in executemany File "FileC:\Users\user\Anaconda3\lib\site-packages\MySQLdb\cursors.py", line 127,