WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tk and Python  (Read 2166 times)

Offline innominate

  • Newbie
  • *
  • Posts: 12
Tk and Python
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Tk and Python
« Reply #1 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 :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Tk and Python
« Reply #2 on: June 20, 2014, 12:53:05 AM »
Python updated to 2.7.7 in 5.x/x86 repo
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."