Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: python and Tkinter< Next Oldest | Next Newest >
muddywaters Offline





Group: Members
Posts: 17
Joined: Dec. 2006
Posted: Dec. 15 2007,15:59 QUOTE

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?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 15 2007,16:50 QUOTE

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.
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 15 2007,19:52 QUOTE

Quote (muddywaters @ Dec. 15 2007,10: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.

See System > System Stats.
Back to top
Profile PM 
muddywaters Offline





Group: Members
Posts: 17
Joined: Dec. 2006
Posted: Dec. 15 2007,20:21 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 16 2007,01:34 QUOTE

Quote
Is there a way to make these persistent with a hd install or will they need to be loaded at every reboot?
If it's tar.gz or dsl it should persist on a traditional debian-style harddrive install. If it's unc you can copy the directories from opt/whatever into the base system (the unc should include bin, lib, and other standard directories). If it's uci you can copy the whole /opt/whatever directory to a temporary directory, uninstall (umount) the uci, then move the copied directory to /opt/whatever ("whatever" being the name of the original program directory installed from the uci).

Quote
Thank you mikshaw and "anon" for the packages!
Although i know I've created a Python extension for my own personal use, I don't remember ever submitting it to mydsl due to my limited internet speed. Maybe I'm crazier than I thought...


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
5 replies since Dec. 15 2007,15:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: python and Tkinter

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code