---------- Forwarded message ----------
From: Dan Xia <email@example.com>
Date: Wed, Sep 26, 2012 at 11:25 PM
Subject: How to correct TCL_LIBRARY and TK_LIBRARY with py2exe
The original problem in:
I almost solved it by myself, anyhow still a problem left:
The dist create by py2exe, tcl8.5 and tk8.5 libraries resides in a tcl folder, I have to make a windows batch wrapper:
or if I directly run the slideshow.exe generated by py2exe:
Traceback (most recent call last):
File "slideshow.py", line 45, in <module>
File "Tkinter.pyc", line 1685, in __init__
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/Users/d2xia/ccm_wa/utils/tfps/lib/tcl8.5 C:/Users/d2xia/ccm_wa/utils/tfps/lib/tcl8.5 ...
Any py2exe settings to fix this?