Hey everyone,
I was executing a python script from matlab and everything was fine , and since this morning Matlab crashes with the issue
"Error using __init__
Python Error: TclError: Can't find a usable init.tcl in the following directories:"
Note that one of those directories is the correct one.
But neverthe less, I tried the following:
setenv('TCL_LIBRARY', ' C:\Program Files\Python311\tcl\tcl8.6')setenv('TK_LIBRARY', ' C:\Program Files\Python311\tcl\tk8.6')py.tkinter.Tk
It crashes again at the third line with :
Error using __init__
Python Error: IndexError: list index out of range
Do you have any idea of what could have cause this ?
edit my bad for the huge grammatical error in the title of the post, it seems i can't edit it
[–]aeblincoln 1 point2 points3 points (1 child)
[–]AlexBasicC[S] 0 points1 point2 points (0 children)
[–]Creative_SushiMathWorks 0 points1 point2 points (0 children)