I wrote a GUI script using Tkinter in Python 2.3. The script works well when run from PythonWin, Idle and from the command prompt. I tested it in Python 2.3 and 2.6. I managed to create an EXE file using PyInstaller and the batch file below. Unfortunately, every time I run the EXE file, I receive this error message in what appears to be a Tk widget: "Cannot GetProcAddress for Py_IncRef". Then I get the ubiquitous Microsoft send/don't send error report widget.
The batch file:
Here are the imports:
I would post the code if I thought it would help. Any suggestions?
The batch file:
Code:
set PIP=C:\Python23\Lib\site-packages\pyinstaller-1.4\ c:\Python23\python %PIP%Makespec.py --onefile --noconsole --upx --ascii --tk hiproof.py c:\Python23\python %PIP%Build.py hiproof.spec
Code:
import Tkinter from Tkconstants import * from math import * import textwrap from itertools import cycle
Comment