python and TkinterForum: Apps Topic: python and Tkinter started by: muddywaters Posted by muddywaters on Dec. 15 2007,15:59
An 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:50
Many python extensions to choose from:./system/python2.3.info ./system/python2.3.tar.gz ./system/python2.3.tar.gz.md5.txt ./testing/python-2.5.uci ./testing/nicotine-python-gtk2-1.0.8.dsl ./testing/nicotine-python-gtk2-1.0.8.dsl.info ./testing/nicotine-python-gtk2-1.0.8.dsl.md5.txt ./testing/python-2.5.uci.md5.txt ./testing/python2.5.uci ./testing/python2.5.uci.info ./testing/python2.5.uci.md5.txt ./testing/python-2.3.uci ./testing/python-2.3.uci.info ./testing/python-2.3.uci.md5.txt ./testing/python-2.5.uci.info ./uci/python.uci ./uci/python.uci.info ./uci/python.uci.md5.txt ./uci/python2.3-gtk2.uci ./uci/python2.3-gtk2.uci.info ./uci/python2.3-gtk2.uci.md5.txt ./unc/nicotine-python-gtk2-1.0.8.unc ./unc/nicotine-python-gtk2-1.0.8.unc.info ./unc/nicotine-python-gtk2-1.0.8.unc.md5.txt ./unc/python2.5.unc ./unc/python2.5.unc.info ./unc/python2.5.unc.md5.txt 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:21
Thanks 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. |