Kevin Walzer <[EMAIL PROTECTED]> writes: > I am trying to build a simple "hello.py" script with cx_freeze, but am > not having any luck. Every time I run the FreezePython utility I get > this error message: > > Traceback (most recent call last): > File > "/Users/kevin/Desktop/cx_Freeze-3.0.2/initscripts/ConsoleKeepPath.py", > line 15, in ? > exec code in m.__dict__ > File "FreezePython.py", line 1, in ? > import optparse > File "/usr/local/python-unix/lib/python2.4/optparse.py", line 72, in ? > from gettext import gettext as _ > File "/usr/local/python-unix/lib/python2.4/gettext.py", line 49, in ? > import locale, copy, os, re, struct, sys > ImportError: Failure linking new module: > /Users/kevin/Desktop/cx_Freeze-3.0.2/build/struct.so: Symbol not found: > __PyFloat_Pack8 > Referenced from: /Users/kevin/Desktop/cx_Freeze-3.0.2/build/struct.so > Expected in: dynamic lookup
Maybe cx_Freeze was not able to find a shared library needed by struct.so because it is not a pure python module. Can you post the "hello.py" you are trying to build ? Regards. Luca. -- http://mail.python.org/mailman/listinfo/python-list