Hi I tried to complie my python script into exe file for running on Windows, and I have tried py2exe and pyinstaller. Both of them notice this kind of problem. It seem they don't support bwidget. I am running Python 2.5.4 with pybwidget 0.1.2. Could anyone can help with me? Thank you very much. Run: xxx....in __init__ xxx....in _require_tkinter.TclError: can't find package BWidget Complie: W: __all__ is built strangely at line 0 - bwidget (D:\python25\lib\site-packages\bwidget\__init__.pyc)
bobo wrote:
Hi I tried to complie my python script into exe file for running on Windows, and I have tried py2exe and pyinstaller. Both of them notice this kind of problem. It seem they don't support bwidget. I am running Python 2.5.4 with pybwidget 0.1.2. Could anyone can help with me? Thank you very much.
You also need the Tcl BWidgets package. -- Kevin Walzer Code by Kevin http://www.codebykevin.com
Yes, I have had the BWidget-1.8.0 for Tcl, but I don't know how to install it or put them somewhere. Could you explain it more clearer? Thank you so much.
bobo wrote:
Hi I tried to complie my python script into exe file for running on Windows, and I have tried py2exe and pyinstaller. Both of them notice this kind of problem. It seem they don't support bwidget. I am running Python 2.5.4 with pybwidget 0.1.2. Could anyone can help with me? Thank you very much.
You also need the Tcl BWidgets package.
-- Kevin Walzer Code by Kevin http://www.codebykevin.com
bobo wrote:
Yes, I have had the BWidget-1.8.0 for Tcl, but I don't know how to install it or put them somewhere. Could you explain it more clearer? Thank you so much.
You'll need to include it somehow with the Tcl/Tk libaries that you wrap with py2exe. Not sure how that works since I don't develop on Windows. -- Kevin Walzer Code by Kevin http://www.codebykevin.com
OK, I will try it now. Thank you for you suggestion!
bobo wrote:
Yes, I have had the BWidget-1.8.0 for Tcl, but I don't know how to install it or put them somewhere. Could you explain it more clearer? Thank you so much.
You'll need to include it somehow with the Tcl/Tk libaries that you wrap with py2exe. Not sure how that works since I don't develop on Windows.
-- Kevin Walzer Code by Kevin http://www.codebykevin.com
participants (2)
-
bobo -
Kevin Walzer