Bug report
Bug description:
I wonder if this problem occurs because my Windows username not not pure ascii?
I do know that there is an __init__.py in the folder C:/Users/TorquilSørensen/anaconda3/Library/lib/tcl8.6
I'm using Python 3.13.9 from Anaconda on Windows 11:
Example of Python output when trying to use tk.Tk() inside Spyder 6.1.0:
import tkinter as tk
root = tk.Tk()
---------------------------------------------------------------------------
TclError Traceback (most recent call last)
Cell In[2], line 1
----> 1 root = tk.Tk()
File ~\anaconda3\Lib\tkinter\__init__.py:2465, in Tk.__init__(self, screenName, baseName, className, useTk, sync, use)
2463 baseName = baseName + ext
2464 interactive = False
-> 2465 self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
2466 if _debug:
2467 self.tk.settrace(_print_command)
TclError: Can't find a usable init.tcl in the following directories:
C:/Users/TorquilSørensen/anaconda3/Library/lib/tcl8.6 C:/Users/TorquilSørensen/lib/tcl8.6 C:/Users/lib/tcl8.6 C:/Users/TorquilSørensen/library C:/Users/library C:/Users/tcl8.6.15/library C:/tcl8.6.15/library
This probably means that Tcl wasn't installed properly.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Bug report
Bug description:
I wonder if this problem occurs because my Windows username not not pure ascii?
I do know that there is an
__init__.pyin the folder C:/Users/TorquilSørensen/anaconda3/Library/lib/tcl8.6I'm using Python 3.13.9 from Anaconda on Windows 11:
Example of Python output when trying to use tk.Tk() inside Spyder 6.1.0:
CPython versions tested on:
3.13
Operating systems tested on:
Windows