Open
Description
Description:
The following error sometimes (randomly) occurs (and sometimes does not) when trying to use maplotlib on GitHub Actions with Python 3.11 + windows-latest. Does not happen with Python 3.12, 3.10 and/or Linux, MacOS.
> self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
E _tkinter.TclError: Can't find a usable init.tcl in the following directories:
E {C:\hostedtoolcache\windows\Python\3.11.9\x64\tcl\tcl8.6}
E
E C:/hostedtoolcache/windows/Python/3.11.9/x64/tcl/tcl8.6/init.tcl: couldn't read file "C:/hostedtoolcache/windows/Python/3.11.9/x64/tcl/tcl8.6/init.tcl": No error
E couldn't read file "C:/hostedtoolcache/windows/Python/3.11.9/x64/tcl/tcl8.6/init.tcl": No error
E while executing
E "source C:/hostedtoolcache/windows/Python/3.11.9/x64/tcl/tcl8.6/init.tcl"
E ("uplevel" body line 1)
E invoked from within
E "uplevel #0 [list source $tclfile]"
E
E
E This probably means that Tcl wasn't installed properly.
Action version:
5.6.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
3.11
Repro steps:
Same repo status and
- failure: https://github.com/34j/jordan-form/actions/runs/14952432754/job/42003681865#step:6:146
- success: https://github.com/34j/jordan-form/actions/runs/14952432754/job/42003775605
Expected behavior:
Always succeed
Actual behavior:
Not always succeed, have to re-run until succeed