Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > py2exe and Tix

Reply
Thread Tools

py2exe and Tix

 
 
Federico
Guest
Posts: n/a
 
      10-01-2004
How can I freeze a script using Tix with py2exe?

I try with this:

#provatix.py
import Tix
w=Tix.Tk()
Tix.Label(w,text='hallo').grid()
w.mainloop()

#setup.py
from distutils.core import setup
import py2exe
import glob
setup(console=["provatix.py"])

so I have provatix.exe but when I run it I have an error:
Traceback (most recent call last):
File "provatix.py", line 2, in ?
File "Tix.pyc", line 210, in __init__
_tkinter.TclError: can't find package Tix

Where is the error?
Thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Py2exe-users] py2exe 0.6.9 released Chris Spencer Python 3 12-08-2008 05:17 PM
RE: [Py2exe-users] py2exe 0.6.9 released Mark Hammond Python 0 11-17-2008 05:27 AM
about py2exe, I installed it, but can't find py2exe.exe in my computer. python Python 3 05-22-2006 02:08 PM
[py2exe] py2exe and datetime -> No module named datetime F. GEIGER Python 0 08-16-2004 01:13 PM
Tix and Grid widget Christos TZOTZIOY Georgiou Python 0 01-13-2004 05:36 PM



Advertisments