Traceback (most recent call last):


 "./bin/deep_ocr_reco", line 137, in <module>

show_img(raw, title="raw image")


 "./bin/deep_ocr_reco", line 27, in show_img

plt.gray()


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3829, in gray

set_cmap("gray")


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 2269, in set_cmap

im = gci()


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 335, in gci

return gcf()._gci()


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 601, in gcf

return figure()


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 548, in figure

**kwargs)


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 161, in new_figure_manager

return cls.new_figure_manager_given_figure(num, fig)


 "/mnt/OCR/deep_ocr_env/local/lib/python2.7/site-packages/matplotlib/backends/_backend_tk.py", line 1044, in new_figure_manager_given_figure

window = Tk.Tk(className="matplotlib")


 "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1767, in __init__

self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

Traceback (most recent call last):


 "app/puppeteer.py", line 201, in <module>

master = Tk()


 "/home/dd/anaconda3/envs/head_anime/lib/python3.8/tkinter/__init__.py", line 2261, in __init__

self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
