von Panos13 » Fr 27. Apr 2018, 21:56
Ja, hier die Fehlermeldungen
------------------------------------------------------------------------------------------
C:\Users\PO\Documents\1_BACHELOR_TIMI\6_BabelGermanThesisPO\Test_Python1>pythontex Test1.tex
This is PythonTeX 0.16
---- Messages for pylab:plotsession:default ----
Traceback (most recent call last):
* PythonTeX stderr - error on line 32:
File "pythontex-files-test1\pylab_plotsession_default.py", line 66, in <module>
savefig('myplot.pdf', bbox_inches='tight')
File "C:\ANACONDA\lib\site-packages\matplotlib\pyplot.py", line 710, in savefig
res = fig.savefig(*args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\figure.py", line 2035, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\backend_bases.py", line 2212, in print_figure
**kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\backends\backend_pdf.py", line 2586, in print_pdf
self.figure.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\figure.py", line 1475, in draw
renderer, self, artists, self.suppressComposite)
File "C:\ANACONDA\lib\site-packages\matplotlib\image.py", line 141, in _draw_list_compositing_images
a.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\axes\_base.py", line 2607, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "C:\ANACONDA\lib\site-packages\matplotlib\image.py", line 141, in _draw_list_compositing_images
a.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\axis.py", line 1192, in draw
renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\axis.py", line 1130, in _get_tick_bboxes
extent = tick.label1.get_window_extent(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\text.py", line 922, in get_window_extent
bbox, info, descent = self._get_layout(self._renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\text.py", line 300, in _get_layout
ismath=False)
File "C:\ANACONDA\lib\site-packages\matplotlib\backends\backend_pdf.py", line 2148, in get_text_width_height_descent
renderer=self)
File "C:\ANACONDA\lib\site-packages\matplotlib\texmanager.py", line 501, in get_text_width_height_descent
dvifile = self.make_dvi(tex, fontsize)
File "C:\ANACONDA\lib\site-packages\matplotlib\texmanager.py", line 362, in make_dvi
with Locked(self.texcache):
File "C:\ANACONDA\lib\site-packages\matplotlib\cbook\__init__.py", line 2527, in __enter__
raise self.TimeoutError(err_str)
matplotlib.cbook.TimeoutError: LOCKERROR: matplotlib is trying to acquire the lock
'C:/Users/PO\\.matplotlib\\tex.cache\\.matplotlib_lock-*'
and has failed. This maybe due to any other process holding this
lock. If you are sure no other matplotlib process is running try
removing these folders and trying again.
--------------------------------------------------
PythonTeX: Test1 - 1 error(s), 0 warning(s)
C:\texlive\2017\bin\win32\runscript.tlu:711: command failed with exit code 1:
python.exe c:\texlive\2017\texmf-dist\scripts\pythontex\pythontex.py Test1.tex
C:\Users\PO\Documents\1_BACHELOR_TIMI\6_BabelGermanThesisPO\Test_Python1>
Ja, hier die Fehlermeldungen
------------------------------------------------------------------------------------------
C:\Users\PO\Documents\1_BACHELOR_TIMI\6_BabelGermanThesisPO\Test_Python1>pythontex Test1.tex
This is PythonTeX 0.16
---- Messages for pylab:plotsession:default ----
Traceback (most recent call last):
* PythonTeX stderr - error on line 32:
File "pythontex-files-test1\pylab_plotsession_default.py", line 66, in <module>
savefig('myplot.pdf', bbox_inches='tight')
File "C:\ANACONDA\lib\site-packages\matplotlib\pyplot.py", line 710, in savefig
res = fig.savefig(*args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\figure.py", line 2035, in savefig
self.canvas.print_figure(fname, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\backend_bases.py", line 2212, in print_figure
**kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\backends\backend_pdf.py", line 2586, in print_pdf
self.figure.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\figure.py", line 1475, in draw
renderer, self, artists, self.suppressComposite)
File "C:\ANACONDA\lib\site-packages\matplotlib\image.py", line 141, in _draw_list_compositing_images
a.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\axes\_base.py", line 2607, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "C:\ANACONDA\lib\site-packages\matplotlib\image.py", line 141, in _draw_list_compositing_images
a.draw(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "C:\ANACONDA\lib\site-packages\matplotlib\axis.py", line 1192, in draw
renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\axis.py", line 1130, in _get_tick_bboxes
extent = tick.label1.get_window_extent(renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\text.py", line 922, in get_window_extent
bbox, info, descent = self._get_layout(self._renderer)
File "C:\ANACONDA\lib\site-packages\matplotlib\text.py", line 300, in _get_layout
ismath=False)
File "C:\ANACONDA\lib\site-packages\matplotlib\backends\backend_pdf.py", line 2148, in get_text_width_height_descent
renderer=self)
File "C:\ANACONDA\lib\site-packages\matplotlib\texmanager.py", line 501, in get_text_width_height_descent
dvifile = self.make_dvi(tex, fontsize)
File "C:\ANACONDA\lib\site-packages\matplotlib\texmanager.py", line 362, in make_dvi
with Locked(self.texcache):
File "C:\ANACONDA\lib\site-packages\matplotlib\cbook\__init__.py", line 2527, in __enter__
raise self.TimeoutError(err_str)
matplotlib.cbook.TimeoutError: LOCKERROR: matplotlib is trying to acquire the lock
'C:/Users/PO\\.matplotlib\\tex.cache\\.matplotlib_lock-*'
and has failed. This maybe due to any other process holding this
lock. If you are sure no other matplotlib process is running try
removing these folders and trying again.
--------------------------------------------------
PythonTeX: Test1 - 1 error(s), 0 warning(s)
C:\texlive\2017\bin\win32\runscript.tlu:711: command failed with exit code 1:
python.exe c:\texlive\2017\texmf-dist\scripts\pythontex\pythontex.py Test1.tex
C:\Users\PO\Documents\1_BACHELOR_TIMI\6_BabelGermanThesisPO\Test_Python1>