i have already seen the other i cant open idle topics, im using windows 11 home, i think my idle shell used to work, but now when i click on the shortcut, it says “the item ‘pythonw.exe’ that this shortcut refers to has been changed or moved”, i found two files, one named Python34 and one named Python312 in my C: folder, and when i click on C:\Python312\Lib\idlelib\idle.pyw, it does nothing.
i try using py -m idlelib and i get this:
Could not find platform independent libraries <prefix>
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Python312\Lib\idlelib\__main__.py", line 6, in <module>
import idlelib.pyshell
File "C:\Python312\Lib\idlelib\pyshell.py", line 45, in <module>
from idlelib.run import idle_formatwarning, StdInputFile, StdOutputFile
File "C:\Python312\Lib\idlelib\run.py", line 94, in <module>
tcl = tkinter.Tcl()
^^^^^^^^^^^^^
File "C:\Python312\Lib\tkinter\__init__.py", line 2459, in Tcl
return Tk(screenName, baseName, className, useTk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\tkinter\__init__.py", line 2346, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/Python312/lib/tcl8.6 C:/Users/username/AppData/Local/Programs/Python/lib/tcl8.6 C:/Users/username/AppData/Local/Programs/lib/tcl8.6 C:/Users/username/AppData/Local/Programs/Python/library C:/Users/username/AppData/Local/Programs/library C:/Users/username/AppData/Local/Programs/tcl8.6.13/library C:/Users/username/AppData/Local/tcl8.6.13/library
This probably means that Tcl wasn't installed properly.
and i just cant figure out how to install or reinstall Tcl