Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: innominate on June 19, 2014, 12:08:06 PM

Title: Tk and Python
Post by: innominate on June 19, 2014, 12:08:06 PM
Hi, I got the error below in a python script and noticed that tk-dev.tcz was recently downgraded from 8.6 to 8.5... maybe python was not rebuilt with this consideration?

My questions are: 1) Is my only practical option to build my own Python interpreter? 2) Out of curiosity, what did Tk 8.6 break... maybe I'm better off building my own tk8.6

Thanks,
Dave

line 13, in <module>
    from Tkinter import *
  File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
Title: Re: Tk and Python
Post by: bmarkus on June 19, 2014, 12:20:32 PM
Hi, I got the error below in a python script and noticed that tk-dev.tcz was recently downgraded from 8.6 to 8.5... maybe python was not rebuilt with this consideration?

My questions are: 1) Is my only practical option to build my own Python interpreter? 2) Out of curiosity, what did Tk 8.6 break... maybe I'm better off building my own tk8.6


There are applications require 8.5 and do not build with 8.6

Python will be updated in a week or so. It will solve the issue.

Of course you are free to build whatever you need for yourself independently :)
Title: Re: Tk and Python
Post by: bmarkus on June 20, 2014, 12:53:05 AM
Python updated to 2.7.7 in 5.x/x86 repo