Traceback (most recent call last): File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 255, in _run_checked_subprocess report = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\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\_____\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\_____\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 "_:\multipage_pdf.py", line 28, in pdf.savefig() File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\backend_pdf.py", line 2772, in savefig figure.savefig(self, format="pdf", **kwargs) File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\figure.py", line 3343, in savefig self.canvas.print_figure(fname, **kwargs) File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backend_bases.py", line 2366, in print_figure result = print_method( ^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backend_bases.py", line 2232, in print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( ^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\backend_pdf.py", line 2815, in print_pdf self.figure.draw(renderer) File "C:\Users\_____\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\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\figure.py", line 3140, in draw mimage._draw_list_compositing_images( File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\image.py", line 131, in _draw_list_compositing_images a.draw(renderer) File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\artist.py", line 72, in draw_wrapper return draw(artist, renderer) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axes\_base.py", line 3028, in draw self._update_title_position(renderer) File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axes\_base.py", line 2972, in _update_title_position ax.yaxis.get_tightbbox(renderer) # update offsetText ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 1325, in get_tightbbox self._update_label_position(renderer) File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 2565, in _update_label_position bboxes, bboxes2 = self._get_tick_boxes_siblings(renderer=renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 2100, in _get_tick_boxes_siblings tlb, tlb2 = axis._get_ticklabel_bboxes(ticks_to_draw, renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\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\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\axis.py", line 1304, in return ([tick.label1.get_window_extent(renderer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\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\_____\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\_____\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\_____\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\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\backends\_backend_pdf_ps.py", line 107, in get_text_width_height_descent return super().get_text_width_height_descent(s, prop, ismath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\_____\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\_____\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\_____\AppData\Local\Programs\Python\Python311\Lib\site-packages\matplotlib\texmanager.py", line 300, in make_dvi cls._run_checked_subprocess( File "C:\Users\_____\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