I’m using Python and PyCharm on Windows 11. I recently upgraded from Python 3.12 to Python 3.13. When running in PyCharm, I now get the error
"_tkinter.TclError: Can’t find a usable init.tcl in the following directories:
C:/Users/kbens/AppData/Local/Programs/Python/Python313/lib/tcl8.6 {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/Earnie/.venv/lib/tcl8.6} {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/Earnie/lib/tcl8.6} {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/Earnie/.venv/library} {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/Earnie/library} {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/Earnie/tcl8.6.14/library} {C:/Users/kbens/OneDrive/Earnie TradeBot/Code/tcl8.6.14/library}
This probably means that Tcl wasn’t installed properly."
Based on other posts I’ve seen, I installed the latest TCL. It made no difference.
You need to sign in to view this answers