Overview
| Artifact ID: | 3074efeee70e8feeacaa061f93d6eb2aa1adac415e2b3e63a27cc0ac053f2eb2 |
|---|---|
| Ticket: | 6fbabfe1661c22e7990bb917e9fa49cc16e016ea
Tkinter: Cannot find a usable init.tcl with recent core-9-0-branch |
| User & Date: | chrstphrchvz on 2025-09-30 23:21:35 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Using macOS 15 Intel and Python 3.15.0a0 (recent CPython main branch). I am trying to create a Tcl interpreter from Tkinter (without loading Tk): <pre> import tkinter i = tkinter.Tcl() </pre> The most recent check-in on core-9-0-branch I am aware which works is [201dd6fe]. Between [0433b67a] and [c658915b], an assertion fails (the same one described in bug [f0b80a3d]). Between [c6b85e5e] and present ([d23568f2]), <tt>Tcl_Init()</tt> emits an error about not finding <tt>init.tcl</tt>: <pre> Traceback (most recent call last): File "<stdin>", line 1, in <module> i = tkinter.Tcl() File "/Volumes/Ventura/Users/user/git/cpython/Lib/tkinter/__init__.py", line 2592, in Tcl return Tk(screenName, baseName, className, useTk) File "/Volumes/Ventura/Users/user/git/cpython/Lib/tkinter/__init__.py", line 2479, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _tkinter.TclError: Cannot find a usable init.tcl in the following directories: /Users/user/tcl90sdk26/lib/tcl9.0 /Volumes/Ventura/Users/user/git/lib/tcl9.0 /Volumes/Ventura/Users/user/lib/tcl9.0 /Volumes/Ventura/Users/user/git/library /Volumes/Ventura/Users/user/library /Volumes/Ventura/Users/user/tcl9.0/library /Volumes/Ventura/Users/user/tcl9.0.3/library /Volumes/Ventura/Users/tcl9.0.3/library This probably means that Tcl wasn't installed properly. </pre> - foundin changed to: "core-9-0-branch"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- private_contact changed to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
Tkinter: Cannot find a usable init.tcl with recent core-9-0-branch
- type changed to: "Bug"