Hi guys have a python software that i want to freeze for distribution. The problem is after freezing it with cx_freeze and i run it, it works fine on my development computer but when i sent it to my testing computer (window XP sp3 32bit) it give me this error Traceback(mostresent call last): File "C:Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line27, in <module? File "timeTracker.py", line 555, in <module> File "timeTracker.py", line 381, in __init__ File "timeTracker.py", line 427, in runTimeThread File "timeTracker.py", line 494, in __init__ File "timeTracker.py", line 118, in __init__ File "C:Python27\lib\site-packages\pyttsx1.1-py2.7.egg\pyttsx\__init__.py", line 39, in init File "C:Python27\lib\site-packages\pyttsx1.1-py2.7.egg\pyttsx\engine.py", line 45, in __init__ …

Member Avatar
Member Avatar
+0 forum 9

hi guy, i have created an app why my beloved python. i have frozen it using cx_freeze for easy distribution but the problem is, on my development computer (win7) it runs perfectly but when i send it to a testing pc (windows XP sp3 32bit) it give me the error Traceback (most recent call last): File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module> File "timeTracker.py", line 555, in <module> File "timeTracker.py", line 381, in __init__ File "timeTracker.py", line 427, in runTimeThread File "timeTracker.py", line 494, in __init__ File "timeTracker.py", line 118, in __init__ File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\__init__.py", line 39, in init File "C:\Python27\lib\site-packages\pyttsx-1.1-py2.7.egg\pyttsx\engine.py", line …

Member Avatar
Member Avatar
+0 forum 1

(Just to preface this, I am a Python noob, so parts may be stupid/less obvious to me) I am trying to compile a Python script to exe, with the following setup.py file: from cx_Freeze import setup, Executable includes = ["re", "PyVMF"] setup( name="Wall Tile Randomizer", version="1.2", description="Wall Tile Randomizer", executables=[Executable("WallRandomizer.py")], ) The first time I ran this, I did not have the `includes = ["re", "PyVMF"]` line. I ran it, and got the "ImportError: no module named 're'" error when I ran the compiled exe. As suggested elsewhere, I added that line (PyVMF is another module used) I am still, …

Member Avatar
Member Avatar
+0 forum 3

I am having trouble parsing xml files using ElementTree after the python code is turned into .exe using cx_freeze. [CODE] from xml.etree import ElementTree file1 = 'file1' file2 = 'file2' tree1 = ElementTree.parse(file1) tree2 = ElementTree.parse(file2) print 'Done' [/CODE] It works fine with the .py file, but after I made an .exe using cx_freeze, it would give the error: [CODE] Traceback (most recent call last): File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module> exec code in m.__dict__ File "test1.py", line 6, in <module> tree1 = ElementTree.parse(file1) File "C:\Python27\lib\xml\etree\ElementTree.py", line 1177, in parse tree.parse(source, parser) File "C:\Python27\lib\xml\etree\ElementTree.py", line 648, in parse parser = …

Member Avatar
Member Avatar
+0 forum 2

I'm trying to use cx_Freeze and everything everything seems like it should work fine, however I'm getting an import error for import tkinter [CODE]Traceback #... from tkinter import __fix #... import_tkinter ImportError: DLL load failed: The specified module could not be found.[/CODE] This only happens when I take the the contents "all of it" out of the C:/Python32/Scripts/distany directory, inside there it works fine. any insight? EDIT: it appears this issue is resolved, however is there a way to make the program easier to access for the user when I make a zip of it and its dependencies, since there …

Member Avatar
Member Avatar
+0 forum 2

is it possible to link modules together and freeze them into an executable using cx_freeze? and how can you do it

Member Avatar
+0 forum 0

The End.