Python Forum
[Tkinter] Problem with new PC
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Problem with new PC
#1
For many years I have been using a little piece of software written in Python that creates a GUI in a video game
and allows the user to create objects/characters while the game is running, for custom modding purposes.
It uses Tkinter included in the Python included with the game. The game (Blade of Darkness)dates from 1999
so quite ancient. I've used this script over various PCs starting with win98se. Big Grin
My problem is this: I recently got a new PC with win 10, which runs like lightning and the game also runs fine,
but if I try to start the add-on script it throws up a error....

Traceback (innermost last):
  File "DefFuncs.py", line 1787, in InitEB
    import EBrowser
  File "..\..\Scripts\EBrowser.py", line 2365, in ?
    root = Tkinter.Tk()
  File "..\..\Lib\PythonLib\lib-tk\Tkinter.py", line 886, in __init__
    self.tk = _tkinter.create(screenName, baseName, className)
TclError: Can't find a usable init.tcl in the following directories: 
    {} ./lib/tcl8.0 ./lib/tcl8.0 ./library ./library ./tcl8.0/library ./tcl8.0/library



This probably means that Tcl wasn't installed properly.


It is exactly the same script and installation on my old (win 7) pc, where it works. So I can only conclude the
the win 10 os does not like it somehow.

Any possible fixes greatly appreciated. I should point out that while I am reasonably conversant with python
my knowledge is largely confined to programming this game. Cry
Reply


Messages In This Thread
Problem with new PC - by prospero - Oct-22-2019, 10:15 AM
RE: Problem with new PC - by joe_momma - Oct-22-2019, 02:35 PM
RE: Problem with new PC - by prospero - Oct-23-2019, 10:15 AM
RE: Problem with new PC - by joe_momma - Oct-24-2019, 03:29 PM
RE: Problem with new PC - by prospero - Oct-25-2019, 08:05 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020