python and Tkinter
Topic: python and Tkinter
started by: muddywaters
Posted by muddywaters on Dec. 15 2007,15:59An easy Q first. How to know what version of DSL is running? I think it's 3.3.1 installed to hard drive.
I installed python from mydsl. <which python> returns /opt/python/bin/python. I added this to the path but importing Tkinter fails with a message that python may not be configured for Tk.
Does python need to be installed by a different method?
Posted by roberts on Dec. 15 2007,16:50Many python extensions to choose from:
Take a look in the testing area, as it will have the latest.
Read the .info files for more information.
Read the info file for python2.5uci in testing.
The info file mentions tcl/tk.
Posted by ^thehatsrule^ on Dec. 15 2007,19:52
See System > System Stats.
Posted by muddywaters on Dec. 15 2007,20:21Thanks for the replies.
Hmm, looked at system stats and missed the version number. The position right at the top must have thrown me off 3.1 btw
All those extra python extensions didn't appear until a switch of servers. Thank you mikshaw and "anon" for the packages!
Is there a way to make these persistent with a hd install or will they need to be loaded at every reboot?
Happy holidays folks, whatever your religious beliefs.
Posted by mikshaw on Dec. 16 2007,01:34
Posted by muddywaters on Dec. 16 2007,03:41
Probably not. I don't know you well enough to judge ;) More likely I'm more newbie than you think.
" from Tkinter import * " while running python2.5 in bash errors out. If tcltk-8.4.uci is loaded Tkinter imports as expected. Honestly the true purpose of your package is a bit of a mystery. I'm still exploring it.
Thanks for the other info.