In a message of Fri, 22 May 2015 11:31:12 +0530, Sreenath Nair writes:
>I'm trying to build a script into a binary using cx_freeze. Problem is that 
>once the binary is built then it starts throwing ImportError....Invoking the 
>source via shell works fine. Can someone clarify why this behavior when 
>freezing the source?
>
>Thank you.
>
>Sent from my Windows Phone
>-- 
>https://mail.python.org/mailman/listinfo/python-list

If it cannot import any modules, then chances are you have not
asked it to.  Post your setup.py, because there is more than one way to
do this.

But sometimes, especially with conditional imports, it just
doesn't get it correctly.

cx_freeze --include-modules <the one it forgot>
will force it to include it.

Laura
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to