python - TypeError when using cxfreeze in ubuntu 12.04 32 bit -


i attempting make .exe file using cx_freeze on 32-bit ubuntu 12.04, encountering unexplained typeerror "typeerror: 'nonetype' object not iterable" . here setup script:

from distutils.core import setup import py2exe   setup(console=['file.py']) 

could lend helping hand? appreciate.

i had same problem. in python program, interacting supplementary files (text file logging) present in same folder python script located. found out exe version of program trying find files , not find them, , returns error. therefore, copied file same folder exe program located. and, ... yes, it solved problem.


Comments