Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 255, in _run_checked_subprocess report = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1493, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1948, in __call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 861, in callit func(*args) File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\_backend_tk.py", line 271, in idle_draw self.draw() File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 10, in draw super().draw() File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\backend_agg.py", line 400, in draw self.figure.draw(self.renderer) File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\figure.py", line 3140, in draw mimage._draw_list_compositing_images( File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axes\_base.py", line 3064, in draw mimage._draw_list_compositing_images( File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 1377, in draw tlb1, tlb2 = self._get_ticklabel_bboxes(ticks_to_draw, renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 1304, in _get_ticklabel_bboxes return ([tick.label1.get_window_extent(renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 1304, in return ([tick.label1.get_window_extent(renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\text.py", line 959, in get_window_extent bbox, info, descent = self._get_layout(self._renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\text.py", line 378, in _get_layout _, lp_h, lp_d = _get_text_metrics_with_cache( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\text.py", line 97, in _get_text_metrics_with_cache return _get_text_metrics_with_cache_impl( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\text.py", line 105, in _get_text_metrics_with_cache_impl return renderer_ref().get_text_width_height_descent(text, fontprop, ismath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\backend_agg.py", line 226, in get_text_width_height_descent return super().get_text_width_height_descent(s, prop, ismath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backend_bases.py", line 645, in get_text_width_height_descent return self.get_texmanager().get_text_width_height_descent( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 368, in get_text_width_height_descent dvifile = cls.make_dvi(tex, fontsize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 300, in make_dvi cls._run_checked_subprocess( File "C:\Users\kamif\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 259, in _run_checked_subprocess raise RuntimeError( RuntimeError: Failed to process string with tex because latex could not be found