Troubleshooting
If you get on Windows following error:
tkinter.TclError: Can't find a usable init.tcl in the following directories: C:/Python313/lib/tcl8.6 C:/lib/tcl8.6 C:/lib/tcl8.6 C:/library C:/library C:/tcl8.6.14/library C:/tcl8.6.14/library
This probably means that Tcl wasn't installed properly.
the solution is to set the environment variable manually:
Open Control Panel → System → Advanced system settings.
Go to Environment Variables.
Under System Variables, click New.
Set:
Variable name:
TCL_LIBRARYVariable value:
C:\Python313\tcl\tcl8.6(adjust if your folder is different)